refactor(vue): migrate app, routes, and tooling from Svelte

Replace the Svelte runtime, Vite plugin, Storybook adapter, and component files with Vue 3 equivalents while preserving the existing route table, page markup, styling, assets, deployment shape, and npm workflows.

Move shared and page-level state onto Vue refs, computed values, lifecycle hooks, and script setup components. Recreate the custom async router and translation composable as Vue-native modules so navigation and bilingual content continue to work without introducing a router or state-management dependency.

Adopt the maintained @lucide/vue package, remove the Svelte icon and map wrappers, and initialize MapLibre directly on the Helpdesk page. Replace the Svelte CSF story with a Vue Storybook story, remove obsolete aliases and generation/config files, and update the audited lockfile with no known vulnerabilities.
This commit is contained in:
topsinoty
2026-07-04 15:51:11 +03:00
parent 33eac3b896
commit 13322e11cb
55 changed files with 3684 additions and 2456 deletions

View File

@@ -9,28 +9,25 @@
"preview": "vite preview",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"generate-stories": "node scripts/generate-stories.js",
"optimise": "node scripts/optimise-images.js"
},
"devDependencies": {
"@storybook/addon-svelte-csf": "^5.0.11",
"@storybook/svelte-vite": "^10.2.15",
"@sveltejs/vite-plugin-svelte": "^6.2.1",
"@storybook/vue3-vite": "^10.2.15",
"@types/js-yaml": "^4.0.9",
"@vitejs/plugin-vue": "^6.0.2",
"storybook": "^10.2.15",
"svelte": "^5.43.8",
"vite": "npm:rolldown-vite@7.2.5"
"vite": "npm:rolldown-vite@7.2.5",
"vue": "^3.5.25"
},
"overrides": {
"vite": "npm:rolldown-vite@7.2.5"
},
"dependencies": {
"@lucide/vue": "^1.23.0",
"@tailwindcss/vite": "^4.1.17",
"js-yaml": "^4.1.1",
"lucide-svelte": "^0.554.0",
"maplibre-gl": "^5.19.0",
"sharp": "^0.34.5",
"svelte-maplibre": "^1.2.6",
"tailwindcss": "^4.1.17"
}
}