navigate into newly created directory using > cd name-of-your-package. create new directory by typing > mkdir name-of-your-package.navigate into the root folder using > cd folderDestintation e.g.Make sure the registry is set to npm like so registry= 4 step: Create npm package nprmc, can be found at this location C:\Users\YourName when you are typing password it wont show it but it’s there….magic.3 step: Login to your npm account through VS code Or you might have errors when trying to login to npm through VS code. TO NOTE: Make sure you confirm your account from your email box. 2 step: Create npm account if you haven’t got one Then you need to install an appropriate Node.js version that is compatible with your version of Angular. Install Visual Studio Code on your machine. 1 step: Setup local environment and workspace for Angular app What is requiredįirst thing first make sure you have a local environment and workspace for Angular app setup. In this post I will demonstrate how to set up everything you need in order to be able to publish the npm package and use it as a js module in another application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |