刚配置了文件出现错误提示
来源:7-2 首页Header开发-城市定位服务设计

慕先生3001809
2018-11-23
请老师帮忙排查,这种错误为什么会出现
写回答
4回答
-
慕先生3001809
提问者
2018-11-26
我找到解决方法了:
打开nuxt.config.js 注释掉eslint检测,不要把
extend(config, ctx) {
// Run ESLint on save
if (ctx.isDev && ctx.isClient) {
config.module.rules.push({})
注释掉,如果注释掉会出现app crash的错误
00 -
顽皮无所谓
2018-11-25
nuxt.config.js中:
build: {
/*
** You can extend webpack config here
*/
// 注释以下内容,关闭eslint的检测
// extend(config, ctx) {
// // Run ESLint on save
// if (ctx.isDev && ctx.isClient) {
// config.module.rules.push({
// enforce: 'pre',
// test: /\.(js|vue)$/,
// loader: 'eslint-loader',
// exclude: /(node_modules)/
// })
// }
// }
}
00 -
慕先生3001809
提问者
2018-11-23
我没有启用peritter,但是一直报错
00 -
快乐动起来呀
2018-11-23
这个都是eslint报错,是不是用了premitter
00
相似问题