Installing Bower and npm packages

Installing Bower packages

In the solution explorer open the Dependencies node. You should see a Bower folder. Right click on it and select Open Bower.json. A json file should open. There you may add the Bower packages to install. Installations take place automatically when you save the file. See here to get an idea of how to insert the package names.

Installing npm packages

  1. In the solution explorer open the Dependencies node.
  2. If an npm folder is already there go to the next step, otherwise create it this way: right click on the project node (project not solution!) and selecct "add new item", then select ".Net Core" and then "client side". Here select "package.json" file type. Do not change name to the file, but accept the suggested "package.json"
  3. Right click on the npm folder and select Open package.json.
  4. A json file should open. There you may add the npm packages to install, as for the Bower packages
  5. Installations take place automatically when you save the file
Important: cldr-data must be installed before all other packages, so add it and click save, to start installation. After completion (it may take some minutes since it download several language packages) add all other packages.


Fork me on GitHub