![]() It can also receive a filename to only run that test (e.g. To run the Angular CLI E2E test suite, use the node. Please read the official npm-link documentationĪnd the npm-link cheatsheet for more information. You can also use ng new foo -link-cli to automatically link the package. The folder you cloned it into, npm's folder where it stores global packages and the Angular CLI project you just created. Now the angular-cli you cloned before is in three places: Npm link symlinks the global package to the local package. The local from the project which was fetched remotely from npm. Npm link is needed because by default the globally installed just loads It should be done due to changing of package's name and scope from angular-cli to new foo If you're using Angular CLI 1.0.0-beta.28 or less, you need to uninstall angular-cli package. This should add the new component, directive or pipe reference to the new-module you've created. call ng g component new-module/new-component. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |