mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 02:44:02 +00:00
feat(ui): render every application template except the loading screen as a Vue view
The scene chrome, cockpit, Display controls, command dock, layer panels, Context rail, welcome card and Provider Settings move verbatim into src/ui/views and mount into their hosts before the page is translated and wired. Each view renders the same elements, attributes and text as its template; Vue keeps whitespace between elements as one space, and no view markup sits under a white-space: pre rule. Template asset URLs stay literal, view files are left out of Prettier so the markup is not reflowed, and the Node component loader moves to build/ and is exported as build/register-vue for host test runners. Hosts that do not initialize Core's locale pass localePicker: false instead of editing the markup.
This commit is contained in:
1 parent
9d24945143
commit
6802c9c8b0
46 files changed
+258
-97
No files matched your search
@@ -20,7 +20,15 @@
|
||||
"modules": [
|
||||
"src/app/application.js",
|
||||
"src/ui/vueRuntime.js",
|
||||
"src/ui/views/index.js"
|
||||
"src/ui/views/index.js",
|
||||
"src/ui/views/CockpitView.vue",
|
||||
"src/ui/views/CommandDockView.vue",
|
||||
"src/ui/views/ContextView.vue",
|
||||
"src/ui/views/DisplayControlsView.vue",
|
||||
"src/ui/views/LayerPanelsView.vue",
|
||||
"src/ui/views/ProviderSettingsView.vue",
|
||||
"src/ui/views/SceneChromeView.vue",
|
||||
"src/ui/views/WelcomeView.vue"
|
||||
],
|
||||
"external": ["vue", "pinia"]
|
||||
},
|
||||
@@ -38,7 +46,7 @@
|
||||
},
|
||||
"vite-build": {
|
||||
"runtime": "node",
|
||||
"exports": ["./build/vite", "./build/html"],
|
||||
"exports": ["./build/vite", "./build/html", "./build/register-vue"],
|
||||
"modules": [
|
||||
"build/vite.js",
|
||||
"build/application-html.js",
|
||||
@@ -46,9 +54,11 @@
|
||||
"build/embed-framing.js",
|
||||
"build/panel.js",
|
||||
"build/applicationViews.js",
|
||||
"build/vueOptions.js"
|
||||
"build/vueOptions.js",
|
||||
"build/registerVue.js",
|
||||
"build/vueLoader.js"
|
||||
],
|
||||
"external": ["vite-plugin-cesium", "@vitejs/plugin-vue"]
|
||||
"external": ["vite-plugin-cesium", "@vitejs/plugin-vue", "vue"]
|
||||
},
|
||||
"live-providers": {
|
||||
"runtime": "node",
|
||||
|
||||
Reference in new issue
Block a user