WorkshopTasker/plugins/vuetify.ts
Wroclaw f26206de87 Reconfigure Vuetify to be installed as Vuetify doc states
As of today, the vutetify doc states how to install it in the nuxt.
So following the guide I did it.
Now the website layout does not "jump" with offsets on load.
2023-11-09 00:45:37 +01:00

14 lines
341 B
TypeScript

import { createVuetify } from 'vuetify';
import * as components from 'vuetify/components';
import * as directives from 'vuetify/directives';
import { defineNuxtPlugin } from '#app';
export default defineNuxtPlugin((nuxtApp) => {
const vuetify = createVuetify({
ssr: true,
theme: {
},
});
nuxtApp.vueApp.use(vuetify);
});