I have installed the npm packages for jquery & bootstrap, and then added imports into vendor.ts, but I still don't have any bootstrap styling showing up on the browser.
...
import 'jquery/dist/jquery.js'
import 'bootstrap/dist/css/bootstrap.css';
import 'bootstrap/dist/js/bootstrap.js';
...
I have also tried adding another entry within webpack.common.js, but that didn't help either.
entry: {
'bootstrap': './node_modules/bootstrap/dist/css/bootstrap.min.css',
'polyfills': './src/polyfills.ts',
'vendor': './src/vendor.ts',
'main': './src/main.browser.ts'
}
Any help would be much appreciated, thanks.
index.html?vendor.js.exclude: /node_modules/in your loader options?