无法在vue cli中编译vuetify

时间:2019-06-19 10:32:29

标签: npm

我在vuejs项目中安装了vuetify,并在编译时出现此错误:

Failed to compile.

./node_modules/vuetify/src/stylus/components/_grid.styl
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
| @import '../bootstrap'
| 
| .container
 @ ./node_modules/vuetify/lib/components/VGrid/VLayout.js 1:0-51
 @ ./node_modules/vuetify/lib/components/VGrid/index.js
 @ ./node_modules/vuetify/lib/components/index.js
 @ ./node_modules/vuetify/lib/index.js
 @ ./src/plugins/vuetify.js
 @ ./src/main.js
 @ multi (webpack)-dev-server/client?http://localhost:7000 webpack/hot/dev-server babel-polyfill ./src/main.js

Vue版本:3.8.4 Webpack版本:4.28.4

0 个答案:

没有答案