Zolf
asked on
Install bootstrap locally using Angular CLI
Hello there,
Using this as my guide https://github.com/angular/angular-cli#global-library-installation, I added these two lines of code in my angular-cli.json file,like so and installed bootstrap by running npm install bootstrap@3. But still the bootstrap css is not taking over in my app.
I also added this line in my index.html but did not help.
Please help!!
cheers
Zolf
Using this as my guide https://github.com/angular/angular-cli#global-library-installation, I added these two lines of code in my angular-cli.json file,like so and installed bootstrap by running npm install bootstrap@3. But still the bootstrap css is not taking over in my app.
"styles": ["node_modules/bootstrap/dist/css/bootstrap.css",
"styles.css"
],
"scripts": ["node_modules/bootstrap/dist/js/bootstrap.js"],
I also added this line in my index.html but did not help.
<link href="node_modules/bootstrap/dist/css/bootstrap.css" rel="stylesheet" />
Please help!!
cheers
Zolf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER