Anyone tried to make an application with
dotnet new --install Microsoft.AspNetCore.SpaTemplates::*
dotnet new angular
? like in this example ht
Since some js components in Bootstrap 4 depends on Tether.js add
"bootstrap": "4.0.0-alpha.6"
and "tether": "^1.4.0"
to your package.json
then delete node_modules
folder and run
nmp install
then because of Bootstrap checking for tether
add this to plugins in your webpack.config.vendor.js
plugins: [
<... your plugins here>,
new webpack.ProvidePlugin({
$: "jquery",
jQuery: "jquery",
"window.jQuery": "jquery",
"Tether": 'tether'
})
]
then run
webpack --config webpack.config.vendor.js
webpack
references are: this issue , this and this