This commit is contained in:
橙子
2022-04-26 11:17:53 +08:00
parent d01c3ff9ca
commit acb1c6cc99
8 changed files with 79 additions and 3 deletions

View File

@@ -3,6 +3,10 @@
import Vue from 'vue'
import Vuetify from 'vuetify/lib/framework'
import ripple from 'vuetify/lib/directives/ripple'
import zhHans from 'vuetify/es5/locale/zh-Hans' // 引入中文语言包
import 'typeface-roboto/index.css' // 引入本地的Roboto字体资源
import '@mdi/font/css/materialdesignicons.css' // 引入本地的Material Design Icons资源
Vue.use(Vuetify, { directives: { ripple } })
@@ -17,8 +21,13 @@ const theme = {
}
export default new Vuetify({
lang:{
locales: {zhHans},
current: 'zhHans'
},
breakpoint: { mobileBreakpoint: 960 },
icons: {
iconfont: 'mdi',
values: { expand: 'mdi-menu-down' },
},
theme: {