We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b13dcb8 commit d74a2c2Copy full SHA for d74a2c2
src/App.jsx
@@ -7,6 +7,14 @@ import { createAppInstance } from './useAppInstance'
7
export default defineComponent({
8
inheritAttrs: false,
9
setup () {
10
+ /**
11
+ * 实际开发中,可能不需要【多语言、定制主题】等。为方便删除相关逻辑、以及理解数据流向。没有在这里初始化,可能会导致一些问题。
12
+ * 例如非 Layout 组件内没有多语言、定制主题等。
13
+ *
14
+ * 如有需要,请把初始化相关逻辑迁移到 App.jsx
15
+ * src/layout/components/language/index.jsx
16
+ * src/layout/components/settings/ThemeSettings.jsx
17
+ */
18
const localeMessage = ref({})
19
20
const theme = ref('dark')
0 commit comments