使用@vue/cli创建新项目
vue create vue3-vuecli -m npm
"dependencies"和"devDependencies"都随意,主要看有没有兴趣用- D
. 安装的库是默认--save
的。
No parser and no filepath given, using 'babylon' the parser now but this will throw an error in the future.
问题分析prettier版本高于1.13.0 这个bug在[email protected]之后被解决。
手动删除(被依赖的库不能用npm uni
删除)vue-loader 的prettier,然后npm install prettier@~1.12
因为APP.vue中使用了z-index:-1
的样式,注释掉!