- Docs: Indicate --save flag for installing

This commit is contained in:
Brett Zamir
2019-06-27 15:10:36 +08:00
parent 9e392cf66b
commit bd97406c5d

View File

@@ -73,7 +73,7 @@ incorporating SVGEdit. You will need to have Node.js/npm installed.
1. Create and enter an empty folder somewhere on your desktop.
1. Create your npm package: `npm init` (complete the fields).
1. Install SVG-edit into your package:
`npm i svgedit`.
`npm i --save svgedit`.
1. Look within `node_modules/svgedit/`, e.g., `node_modules/svgedit/editor/svg-editor.html`
for the files your package needs and use accordingly.
1. If you want to publish your own work, you can use `npm publish`.