import
会报没有合适的loader
,听说必须要用bootstrap-webpack
还是bootstrap-sass-webpack
或者bootstrap-loader
???
import 'bootstrap/dist/css/bootstrap.css'
这样看着不需要什么loader啊?
./node_modules/bootstrap/dist/css/bootstrap.css
Module build failed: ModuleParseError: Module parse failed: Unexpected character '' (1:0)
You may need an appropriate loader to handle this file type.
你有没有引入jQuery?因为
bootstrap
的js插件需要依赖jq,jq需要依赖export-loader
将$
暴露出来