0👍
So the way I resolve this problem is add it according to @Allkin’s comment:
nuxt.config.js
css: [
'~/assets/style/app.styl',
'material-design-icons-iconfont/dist/material-design-icons.css'
],
Also I removed this in nuxt.config.js, otherwise it still have the same error
{
enforce: 'pre',
test: /\.css$/,
use: ['style-loader', 'css-loader']
},
{
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
loader: 'url-loader',
options: {
limit: 10000
}
}
- [Vuejs]-How to pass parameter for dynamic route?
- [Vuejs]-Vue components data and methods disappear on one item when rendered with v-for as Vuetify's cards
Source:stackexchange.com