- Docs: Indicate --save flag for installing
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user