Skip to content

Commit

Permalink
fix: use en as default locale, fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 committed Sep 16, 2024
1 parent e485474 commit 74e4eb0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/plugins/vuetify.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'vuetify/styles'
import { createVuetify, type IconSet, type IconProps } from 'vuetify'
import { en, zhHans } from 'vuetify/locale'
import { aliases, mdi } from 'vuetify/iconsets/mdi-svg'
import { md3 } from 'vuetify/blueprints'
import type { VDataTable } from 'vuetify/lib/components/index.mjs'
Expand Down Expand Up @@ -36,11 +35,6 @@ const theme = {

export default createVuetify({
blueprint: md3,
locale: {
locale: 'zhHans',
fallback: 'en',
messages: { zhHans, en },
},
defaults: {
VSwitch: {
color: 'primary',
Expand Down

0 comments on commit 74e4eb0

Please sign in to comment.