0๐
Do you have your JS and CSS files integrated in your view?
In the head tag put the following line:
@vite('resources/path/to/app.css')
@vite('resources/path/to/app.js')
Now the vite will be implemented in your view and styles should apply!
0๐
I found a solution, edit app.js and add lines
import { createApp } from "vue";
import App from "./App.vue";
//add this
import { aliases, mdi } from "vuetify/iconsets/mdi-svg";
//
// Vuetify
import "vuetify/styles";
import { createVuetify } from "vuetify";
import * as components from "vuetify/components";
import * as directives from "vuetify/directives";
const vuetify = createVuetify({
components,
directives,
//and this
icons: {
defaultSet: "mdi",
aliases,
sets: {
mdi,
},
},
//
});
createApp(App).use(vuetify).mount("#app");
- [Vuejs]-How to quickly deconstruct javascript objects in pycharm
- [Vuejs]-Error: The requested module 'vue' does not provide an export named 'default'
Source:stackexchange.com