我正试着在我的laravel项目中使用Vue。并为该项目导入vuetify。 但是它会将所有的css内联到项目中。 我的app.js是avobe: window.Vue = require('vue');
//import Vuetify from 'vuetify'
import VueRouter from 'vue-router'
import {store} from './store/store'
import vuetify from './plugins/vuetify' // path to
好的,所以我正在尝试第二次迁移,到目前为止,它已经完全失败了,似乎vuetify没有被检测到,不幸的是,我不能分享我的完整repo,因为它是与工作相关的,但我将描述步骤并分享相关代码。项目是使用vue-cli 3.3.0创建的,其中包含一个用于环境变量的vue.config.js文件。1) npm uninstall vuetify 2)vue add vuetify 3)npm run serve my site not load and I get this error (添加代码):
//vue.config.js
module.exports = {
chainWebpack:
Nuxtjs在纱线开发过程中使用vuetify抛出大量错误Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Nuxtjs: v2.15.6 @nuxtjs/vuetify:"1.11.3","sass":"1.32.8","sass-loader":"10.2.0",
有人知道怎么修吗?
: Using / for division is deprecated and will be removed in Dart
在我生成和安装的任何VueJS项目中,都不能使用this.$vuetify.breakpoint.ANYTHING,因为this.$vuetify.breakpoint是空的。
我尝试过从1.0.10到1.0.17的任何版本的Vuetify。我不明白为什么。我的main.ts文件如下所示:
import './hooks' // This must be imported before any component
import Vue from 'vue'
import Vuetify from 'vuetify'
import 'vue