Commands:
ng new container-app
ng generate library ngx-file-uploader
- Package linking is a two-step process.
- First,
npm link
in a package folder will create a symlink in the global folder {prefix}/lib/node_modules/ that links to the package where thenpm link
command was executed. It will also link any bins in the package to {prefix}/bin/{name}. Note thatnpm link
uses the global prefix (see npm prefix -g for its value).- Next, in some other location,
npm link package-name
will create a symbolic link from globally-installed package-name to node_modules/ of the current folder.
- in package:
npm link
- in project:
npm link ngx-file-uploader
- in package:
ng build ngx-file-uploader --prod
- in package:
npm publish