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 ->