我正在尝试使用vuetify@2.0.0-alpha.17,而不是使用vue时自动以其开始的1.5.13添加vuetify。然后我尝试这篇文章Update Vuetify版本方法。我做
vue create my-app
cd my-app
vue add Vuetify
npm uninstall -S vuetify
npm install -S vuetify@2.0.0-alpha.17
Run Code Online (Sandbox Code Playgroud)
并得到错误
This dependency was not found:
* vuetify/src/stylus/app.styl in ./src/plugins/vuetify.js
To install it, you can run: npm install --save vuetify/src/stylus/app.styl
Run Code Online (Sandbox Code Playgroud)
哦,好的,就是这样安装它。不,这也只会带来错误。就像我只想开始使用2.0.0一样,以便他们发布它(希望很快)时,我不必重新构建所有内容。不知道为什么这么难,就像在文档中告诉我们该怎么做,不是每个人都是向导,而谷歌搜索问题不起作用
import 'vuetify/src/stylus/app.styl'在src/plugins/vuetify.js文件中注释掉。import 'vuetify/src/styles/main.sass'
然后添加npm install sass-loader
| 归档时间: |
|
| 查看次数: |
4391 次 |
| 最近记录: |