0👍
This is how I solve this issue in all my projects:
// vue.config.js
module.exports =
{
chainWebpack: config =>
{
config.module.rule('eslint').use('eslint-loader').loader('eslint-loader').tap(options =>
{
delete options.cacheIdentifier;
options.cache = false; // otherwise on each restart cached errors won't be shown !!!
return options;
});
config.module.rule('vue').use('vue-loader').loader('vue-loader').tap(options =>
{
delete options.cacheDirectory;
return options;
});
config.module.rule('vue').uses.delete('cache-loader');
config.module.rule('js').uses.delete('cache-loader');
}
}
- [Vuejs]-Vue.js can't use v-model
- [Vuejs]-How to remove character "T" in a DateTimeField in Django Vue.js?
Source:stackexchange.com