Skip to content

Commit

Permalink
update theme-base file
Browse files Browse the repository at this point in the history
  • Loading branch information
James-9696 committed Jul 15, 2024
1 parent edbd0da commit 15846a6
Show file tree
Hide file tree
Showing 11 changed files with 1,986 additions and 63 deletions.
6 changes: 3 additions & 3 deletions packages/design-core/src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ import i18n from '@opentiny/tiny-engine-common/js/i18n'
import { initMonitor } from '@opentiny/tiny-engine-common/js/monitor'
import { injectGlobalComponents, setGlobalMonacoEditorTheme, Modal, Notify } from '@opentiny/tiny-engine-common'
import { initHttp } from '@opentiny/tiny-engine-http'
import TinyThemeTool from '@opentiny/vue-theme/theme-tool'
import { tinyEngineThemeLight } from '@opentiny/tiny-engine-theme-base'
// import TinyThemeTool from '@opentiny/vue-theme/theme-tool'
import '@opentiny/tiny-engine-theme-base'
import {
defineEntry,
mergeRegistry,
Expand Down Expand Up @@ -52,7 +52,7 @@ const defaultLifeCycles = {
initHttp({ env: import.meta.env })

// eslint-disable-next-line no-new
new TinyThemeTool(tinyEngineThemeLight, 'tinyEngineTheme') // 初始化主题
// new TinyThemeTool(tinyEngineThemeLight, 'tinyEngineTheme') // 初始化主题

if (import.meta.env.VITE_ERROR_MONITOR === 'true' && import.meta.env.VITE_ERROR_MONITOR_URL) {
initMonitor(import.meta.env.VITE_ERROR_MONITOR_URL)
Expand Down
Loading

0 comments on commit 15846a6

Please sign in to comment.