2
0
mirror of https://github.com/iconify/iconify.git synced 2024-06-21 16:12:37 +00:00

chore: update svelte demo to 5

This commit is contained in:
Vjacheslav Trushkin 2024-05-04 17:05:22 +03:00
parent 062461594b
commit a6cb2ca16f
4 changed files with 355 additions and 129 deletions

View File

@ -11,13 +11,13 @@
},
"devDependencies": {
"@iconify/svelte": "workspace:*",
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@sveltejs/vite-plugin-svelte": "3.0.0-next.3",
"@tsconfig/svelte": "^5.0.4",
"svelte": "^4.2.14",
"svelte-check": "^3.6.9",
"svelte-preprocess": "^5.1.3",
"svelte": "5.0.0-next.123",
"svelte-check": "^3.7.1",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.8"
"vite": "^5.2.11"
}
}

View File

@ -1,7 +1,7 @@
import { mount } from 'svelte';
import App from './App.svelte';
const app = new App({
target: document.getElementById('app')!,
});
const target = document.getElementById('app')!;
const app = mount(App, { target });
export default app;

View File

@ -67,7 +67,7 @@
"rimraf": "^5.0.5",
"rollup": "^4.14.3",
"rollup-plugin-svelte": "^7.2.0",
"svelte": "4.2.8",
"svelte": "5.0.0-next.123",
"svelte-preprocess": "^5.1.3",
"vitest": "^1.5.0"
},

File diff suppressed because it is too large Load Diff