mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-08-08 20:29:12 +00:00
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:
@@ -1,11 +1,10 @@
|
||||
/** @type { import('@storybook/svelte-vite').StorybookConfig } */
|
||||
/** @type { import('@storybook/vue3-vite').StorybookConfig } */
|
||||
const config = {
|
||||
stories: ['../src/**/*.stories.svelte'],
|
||||
addons: ['@storybook/addon-svelte-csf'],
|
||||
stories: ['../src/**/*.stories.js'],
|
||||
framework: {
|
||||
name: '@storybook/svelte-vite',
|
||||
name: '@storybook/vue3-vite',
|
||||
options: {},
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
export default config;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/** @type { import('@storybook/svelte-vite').Preview } */
|
||||
/** @type { import('@storybook/vue3-vite').Preview } */
|
||||
const preview = {
|
||||
parameters: {
|
||||
controls: {
|
||||
@@ -10,4 +10,4 @@ const preview = {
|
||||
},
|
||||
};
|
||||
|
||||
export default preview;
|
||||
export default preview;
|
||||
|
||||
Reference in New Issue
Block a user