feat(configs): import vuetify calendar, manage alias in tsconfig and vite.config.js

This commit is contained in:
Michael 2025-03-19 10:55:54 +01:00
parent b96a3e2565
commit 04d697af44
3 changed files with 36 additions and 3 deletions

View file

@ -2,8 +2,9 @@
import "vuetify/styles";
import '@mdi/font/css/materialdesignicons.css'
import {createVuetify, type ThemeDefinition} from "vuetify";
import * as components from "vuetify/components";
import * as baseComponents from "vuetify/components";
import * as directives from "vuetify/directives";
import { VCalendar } from 'vuetify/labs/VCalendar'
/**
* Example of custom Theme
@ -38,7 +39,10 @@ const customTheme: ThemeDefinition = {
};
const vuetify = createVuetify({
components,
components: {
...baseComponents,
VCalendar,
},
directives,
theme: {
defaultTheme: 'customTheme',