Wroclaw
f26206de87
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.
14 lines
341 B
TypeScript
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);
|
|
});
|