N
N
Nevega2018-03-16 13:52:32
Angular
Nevega, 2018-03-16 13:52:32

VS17 Angular and npm how to add packages?

There is an asp.net core and angular project from VS17 template. What steps do you need to take to add clarity ui via npm, other than adding the appropriate entries to package.json ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2018-03-17
@Nevega

I recommend not to use the template from VS. use npm from the console for this, make an empty WebAPI project, then in the project npm init, npm install --save-dev @angular\cli and ng new.
asp.net-hacker.rocks/2016/08/08/setup-angular2-typ...
https://dustinewers.com/angular-cli-with-net-core/

M
marataziat, 2018-03-16
@marataziat

npm install @clr/ui --save
Add to package.json file:

{
  "dependencies": {
    "clr/ui": "^6.2.0",
    "react": "^0.18.0"
  },
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question