2👍
It seems like there is a typo in your config for file-loader
:
Correct config:
{
test: /\.(png|jpg|gif|svg|mp4)$/, // note `mp4)` here, instead of `mp4})`
loader: 'file-loader',
options: {
name: '[name].[ext]?[hash]'
}
}
Your (incorrect) config:
{
test: /\.(png|jpg|gif|svg|mp4})$/,
loader: 'file-loader',
options: {
name: '[name].[ext]?[hash]'
}
}
- [Vuejs]-Router-view and component in vue app (laravel)
- [Vuejs]-Vue: When an object has many properties, how do you pass it as a prop to a child?
Source:stackexchange.com