I am in a.vue file
<style> @import '../css/bootstrap.css'; </style>
But it prompts an error,
You have not configured the correct loader to load fonts
cnpm i --save-dev url-loader
Input module.rules: in webpack.config.js
{ test: /\.(eot|svg|ttf|woff|woff2)$/, loader:"url-loader", options: { name: '[name].[ext]?[hash]' } }
Restart npm run dev.
npm run dev
Just use the link tag in index.html
You have not configured the correct loader to load fonts
Input module.rules: in webpack.config.js
Restart
npm run dev
.Just use the link tag in index.html