feat(configs): import vuetify calendar, manage alias in tsconfig and vite.config.js
This commit is contained in:
parent
b96a3e2565
commit
04d697af44
3 changed files with 36 additions and 3 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue