From 4b9096250bca2fe185bbbff71ddee77a0bc91ba1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 22 Jul 2026 08:16:58 -0400 Subject: [PATCH] fix(desktop): commit the app shell files Task 9 left unstaged MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The app-shell commit (f45e893) added Home.vue, About.vue, and the router but never staged App.vue, main.ts, or index.html. HEAD therefore still contained Plan A's debug harness and a main.ts that wired neither the router nor the device store — a fresh checkout would have built the harness, not the real UI. The working tree had the correct content all along, which is why the running app was right and the verification (a grep against the working tree, not the commit) passed. - App.vue: harness replaced by router-view + tailwind import - main.ts: router, globalProperties.$devices, provide(DEVICES_KEY) - index.html: drop the scaffold's vite.svg favicon link Co-Authored-By: Claude Opus 4.8 --- desktop/index.html | 1 - desktop/src/App.vue | 88 +++++++-------------------------------------- desktop/src/main.ts | 17 +++++++-- 3 files changed, 26 insertions(+), 80 deletions(-) diff --git a/desktop/index.html b/desktop/index.html index 99f203f..0230601 100644 --- a/desktop/index.html +++ b/desktop/index.html @@ -2,7 +2,6 @@ - Tauri + Vue + Typescript App diff --git a/desktop/src/App.vue b/desktop/src/App.vue index d3079ea..be38b53 100644 --- a/desktop/src/App.vue +++ b/desktop/src/App.vue @@ -1,81 +1,17 @@ - + diff --git a/desktop/src/main.ts b/desktop/src/main.ts index b670de8..0140355 100644 --- a/desktop/src/main.ts +++ b/desktop/src/main.ts @@ -1,4 +1,15 @@ -import { createApp } from "vue"; -import App from "./App.vue"; +import { createApp } from 'vue'; +import App from './App.vue'; +import router from './router'; +import devices from './components/devices'; +import { DEVICES_KEY } from 'n-link-core/components/devices'; +import 'n-link-core/assets/tailwind.css'; -createApp(App).mount("#app"); +const app = createApp(App); +app.use(router); +// Two registrations, both required: +// globalProperties -> templates across n-link-core reference $devices +// provide ->