mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
feat: 图表组件注册
This commit is contained in:
@@ -4,6 +4,7 @@ import router, { setupRouter } from '@/router'
|
||||
import i18n from '@/i18n/index'
|
||||
import { setupStore } from '@/store'
|
||||
import { setupNaive, setupDirectives, setupCustomComponents } from '@/plugins'
|
||||
import { packagesInstall } from '@/packages/index'
|
||||
import { AppProvider } from '@/components/AppProvider/index'
|
||||
import { setHtmlTheme } from '@/utils'
|
||||
|
||||
@@ -39,6 +40,9 @@ async function appInit() {
|
||||
// Store 准备就绪后处理主题色
|
||||
setHtmlTheme()
|
||||
|
||||
// 注册 pakage 组件
|
||||
app.use(packagesInstall)
|
||||
|
||||
// 语言注册
|
||||
app.use(i18n)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user