以下是package.json的代码
"dependencies": {
"@dcloudio/uni-app-plus": "*",
"@dcloudio/uni-h5": "*",
"@dcloudio/uni-mp-alipay": "*",
"@dcloudio/uni-mp-baidu": "*",
"@dcloudio/uni-mp-qq": "*",
"@dcloudio/uni-mp-toutiao": "*",
"@dcloudio/uni-mp-weixin": "*",
"flyio": "^0.6.2",
"lodash": "^4.17.11",
"moment": "^2.24.0",
"regenerator-runtime": "^0.12.1",
"vue": "^2.6.10",
"vuex": "^3.0.1"
},
"devDependencies": {
"@dcloudio/uni-cli-shared": "*",
"@dcloudio/uni-template-compiler": "*",
"@dcloudio/vue-cli-plugin-hbuilderx": "latest",
"@dcloudio/vue-cli-plugin-uni": "latest",
"@dcloudio/webpack-uni-mp-loader": "*",
"@dcloudio/webpack-uni-pages-loader": "*",
"@types/html5plus": "*",
"@types/uni-app": "*",
"@vue/cli-plugin-babel": "3.5.1",
"@vue/cli-service": "^3.8.0",
"babel-plugin-import": "^1.11.0",
"cross-env": "^5.2.0",
"node-sass": "^4.12.0",
"postcss-comment": "^2.0.0",
"sass-loader": "^7.1.0",
"vue-template-compiler": "^2.6.10"
},
直接编译后报错显示
只调用了css的loader
请问怎么解决?
m***@gmail.com (作者)
强行写vue.config.js解决了 但是会引入其他新的问题
2019-08-30 14:55