Skip to content

Instantly share code, notes, and snippets.

@nucab
Created August 8, 2019 13:30
Show Gist options
  • Save nucab/de05ff1de0113d0d45577c2a2f315fe2 to your computer and use it in GitHub Desktop.
Save nucab/de05ff1de0113d0d45577c2a2f315fe2 to your computer and use it in GitHub Desktop.
Linking
First, in the [package] folder (where package.json is):
$ npm link
Then in the project you want to include [package] in:
$ npm link [package]
Unlinking
First, in the project:
$ npm unlink --no-save [package]
Second, in the package:
$ npm unlink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment