diff --git a/spx-gui/TODO.md b/spx-gui/TODO.md new file mode 100644 index 000000000..a6b570215 --- /dev/null +++ b/spx-gui/TODO.md @@ -0,0 +1,4 @@ +* 处理 sprite gen 中对 editor ctx 的覆盖 +* 合并 editor ctx 与 editor state? +* XxxHelpers 是否有更合适的名字 +* 对 resource model 的抽象 \ No newline at end of file diff --git a/spx-gui/src/App.vue b/spx-gui/src/App.vue index 21f047d20..7e482a1ea 100644 --- a/spx-gui/src/App.vue +++ b/spx-gui/src/App.vue @@ -26,6 +26,7 @@ import TutorialRoot from '@/components/tutorials/TutorialRoot.vue' import { SpotlightUI } from '@/utils/spotlight' import { useI18n } from '@/utils/i18n' import { useInstallRouteLoading } from '@/utils/route-loading' +import { provideAppCtx } from './components/common/app-context' const { t } = useI18n() @@ -44,6 +45,7 @@ const config = computed(() => ({ })) useInstallRouteLoading() +provideAppCtx()