Update preview.ts

This commit is contained in:
syuilo 2024-09-08 09:56:56 +09:00 committed by kakkokari-gtyih
parent b2324cea7a
commit 9672065996
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import locale from './locale.js';
import { commonHandlers, onUnhandledRequest } from './mocks.js';
import themes from './themes.js';
import '../src/style.scss';
import { DI } from '../src/di.js';
const appInitialized = Symbol();
@ -77,6 +78,7 @@ queueMicrotask(() => {
return;
}
app[appInitialized] = true;
app.provide(DI.serverMetadata, {}); // TODO
loadTheme(applyTheme);
components(app);
directives(app);