fix: date select
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
// Composables
|
||||
import { createVuetify, type ThemeDefinition } from 'vuetify'
|
||||
import { zhHant } from 'vuetify/locale'
|
||||
// Styles
|
||||
import '@mdi/font/css/materialdesignicons.css'
|
||||
import 'vuetify/styles'
|
||||
@@ -29,6 +30,16 @@ const HPTheme: ThemeDefinition = {
|
||||
|
||||
// https://vuetifyjs.com/en/introduction/why-vuetify/#feature-guides
|
||||
export default createVuetify({
|
||||
locale: {
|
||||
locale: 'zhHant',
|
||||
fallback: 'zhHant',
|
||||
messages: { zhHant },
|
||||
},
|
||||
date: {
|
||||
locale: {
|
||||
zhHant: 'zh-TW',
|
||||
},
|
||||
},
|
||||
theme: {
|
||||
defaultTheme: 'HPTheme',
|
||||
themes: { HPTheme },
|
||||
|
||||
Reference in New Issue
Block a user