直接用2.0版本搭建的项目启动后报错

来源:5-2 Nuxt.js基础(2)

qq_思徒士_0

2018-10-15

ERROR in ./pages/index.vue
Module Error (from ./node_modules/eslint-loader/index.js):

C:\Users\zhuqu\nuxt-learn\pages\index.vue
36:1 error Delete prettier/prettier

✖ 1 problem (1 error, 0 warnings)
1 error and 0 warnings potentially fixable with the --fix option.

写回答

2回答

青音君

2018-11-12

这个只要把36行, 那一空行删除就可以的哦

1
1
呵呵哒呀
老哥你真厉害
2018-12-10
共1条回复

快乐动起来呀

2018-10-15

需要把nuxt降级到1.4.2

0
1
慕九州9371693
为什么要降级呢 莫非是因为 vue init nuxt-community/koa-template这个 koa-template未维护导致的嘛。和最新的nuxt未匹配兼容?
2018-11-29
共1条回复

Vue全家桶+SSR+Koa2全栈开发美团网

整合大前端8项技术,全面晋级全栈工程师,毕设/面试作品

2445 学习 · 1638 问题

查看课程