Open roymj88 opened 7 years ago
First get bootstrap-loader. Follow the install instructions and make sure to install bootstrap-sass. Pay attention to its dependencies as they may not be installed automatically (url-loader and file-loader for instance).
As of the installation of bootstrap-loader. Make sure to use the entry
property instead of the require
attribute.
In case you encounter an error during npm start
like:
cannot read file. Use an appropriate loader ... some special signs or artifacts... <?>
Go here and adapt url-loader
config.
@hanssulo tried this, there seems to be an issue with bootstrap loader and newer node versions. We're you able to get it to work and if so which version of node? Also maybe you could share the config file, please.
Hi,
Please note that ive seen https://github.com/AngularClass/NG6-starter/issues/97 & https://github.com/AngularClass/NG6-starter/issues/99 and it doesnt provide a solution or a clear step and hence opening an issue here.
Ive setup base using NG6-starter and currently im trying to add external modules like bootstrap, fontawesome etc.
For Bootstrap i did the following:
In app.js
This gives following error
For CSS, tried:
And this also ends in error.
For Font-awesome, i tried the following:
In App.scss
Both doesnt work. Help is much appreciated.