使用nuxt.js+koa2创建项目-继续爬坑

$ vue init nuxt-community/koa-template <project-name>

$ cd <project-name> $ npm run dev

<!-- 1. 如果有报错: Plugin/Preset files are not allowed to export objects, only functions

需要降低nuxt版本至1.4.2: npm uninstall nuxt npm install nuxt@1.4.2

2. 升级eslint-plugin-html $ npm i eslint-plugin-html@^3

-->

 

不用再迷信的安装什么backpack-core这些了。。。。。

降低版本最实在

 

nuxt.js实在坑太多,

posted on 2019-11-29 15:50  A-Way  阅读(1069)  评论(0编辑  收藏  举报

导航