27 lines
631 B
TypeScript
27 lines
631 B
TypeScript
import { createVuetify } from 'vuetify'
|
|
import * as components from 'vuetify/components'
|
|
import * as directives from 'vuetify/directives'
|
|
|
|
export default defineNuxtPlugin((app) => {
|
|
const vuetify = createVuetify({
|
|
components,
|
|
directives,
|
|
theme: {
|
|
defaultTheme: 'light',
|
|
themes: {
|
|
light: {
|
|
colors: {
|
|
primary: '#FF9800',
|
|
secondary: '#FFC107',
|
|
accent: '#FF5722',
|
|
error: '#F44336',
|
|
warning: '#FF9800',
|
|
info: '#2196F3',
|
|
success: '#4CAF50'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
app.vueApp.use(vuetify)
|
|
}) |