-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug Report][3.0.0-alpha.11] * vuetify/styles not found after following Setup Guide (Vue3) #303
Comments
I took the test and it worked for me |
does not work ERROR Failed to compile with 2 errors 9:14:52 PM These dependencies were not found:
|
I have the same problem |
@KaelWD why this has the label |
Yes |
@KaelWD have you checked the reproduction link? https://codepen.io/cameron_creative/pen/GREdeqX |
Oh, the vue version on myside is EDIT: Same problem with |
This is the same problem we saw in discord then, npm doesn't resolve conflicting versions of webpack well. You need to run #302. If you use typescript there is also vuejs/vue-cli#6350 |
|
This is still an issue, had anyone solved this? |
Okay, was able to get it to work by: Updating my @vue/cli version (5.0.4) then followed steps in creating vue app with vuetify |
Having the same problem here. Any workaroud ? |
@ikhidebright This solution is not working for me |
try |
I got also same issue ERROR Failed to compile with 1 error 2:04:05 pm This dependency was not found:
To install it, you can run: npm install --save vuetify/styles `import "@mdi/font/css/materialdesignicons.css"; // Vuetify export default createVuetify();` |
I tried |
I run:
it upgrade this:
Then it works for me |
Have a same problem. main.js import { createApp } from 'vue'
import App from './App.vue'
import { firebaseApp } from './firebase'
import router from './router'
import { createPinia } from 'pinia'
import { createVuetify } from 'vuetify'
import { loadFonts } from './plugins/webfontloader'
import "vuetify/lib/styles/main.css";
loadFonts()
const Pinia = createPinia()
const app = createApp(App)
const vuetify = createVuetify()
app.use(router)
app.use(vuetify)
app.use(Pinia)
app.use(firebaseApp)
app.mount('#app') plugins/vuetify.js import { createApp } from 'vue'
import App from './App.vue'
import { firebaseApp } from './firebase'
import router from './router'
import { createPinia } from 'pinia'
import { createVuetify } from 'vuetify'
import { loadFonts } from './plugins/webfontloader'
import "vuetify/lib/styles/main.css";
loadFonts()
const Pinia = createPinia()
const app = createApp(App)
const vuetify = createVuetify()
app.use(router)
app.use(vuetify)
app.use(Pinia)
app.use(firebaseApp)
app.mount('#app') vite.config.js import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import vuetify from 'vite-plugin-vuetify'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
vuetify({ autoImport: true }),
],
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
}) With |
For me works:main.js:
plugins/vuetify.js
|
Refer to the official docs, about "Existing projects" part: Run the command first: Then update main.js into following:
Just a little reminder, if you are using docker to run the project, try to delete the whole image and recreate again. Docker sometimes could not detect the change of npm packages dependencies. |
Environment
Vuetify Version: 3.0.0-alpha.11
Vue Version: 3.2.12
Browsers: Chrome 93.0.4577.63
OS: Mac OS 10.15.7
Steps to reproduce
Follow this docu: https://next.vuetifyjs.com/en/getting-started/installation/
@vue/cli 4.5.13
cd my-app
vue add vuetify
Expected Behavior
Working App with Vuetify Styles
Actual Behavior
After "npm run serve" the following error message appears:
Reproduction Link
https://codepen.io/cameron_creative/pen/GREdeqX
Other comments
I followed the default instructions and am still not able to get Vuetify 3 running.
The text was updated successfully, but these errors were encountered: