feat(KAN-17): add Emerald design system and resilient themes
This commit is contained in:
@@ -6,6 +6,10 @@ import { createSSRApp, h } from 'vue';
|
||||
import { renderToString } from 'vue/server-renderer';
|
||||
import { createLocalization } from '@/lib/localization';
|
||||
import type { LocalizationSettings } from '@/types/localization';
|
||||
import {
|
||||
createAppearance,
|
||||
normalizeAppearance,
|
||||
} from '@/composables/useAppearance';
|
||||
|
||||
const appName = import.meta.env.VITE_APP_NAME || 'Laravel';
|
||||
|
||||
@@ -23,6 +27,13 @@ createServer(
|
||||
setup: ({ App, props, plugin }) =>
|
||||
createSSRApp({ render: () => h(App, props) })
|
||||
.use(plugin)
|
||||
.use(
|
||||
createAppearance(
|
||||
normalizeAppearance(
|
||||
props.initialPage.props.appearance,
|
||||
),
|
||||
),
|
||||
)
|
||||
.use(
|
||||
createLocalization(
|
||||
props.initialPage.props
|
||||
|
||||
Reference in New Issue
Block a user