WorkshopTasker/plugins/vuetify.ts
2023-05-11 06:03:22 +02:00

16 lines
373 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,
components,
directives,
theme: {
},
});
nuxtApp.vueApp.use(vuetify);
});