mirror of
https://github.com/iconify/iconify.git
synced 2025-01-23 07:08:34 +00:00
chore: update svelte demo to 5
This commit is contained in:
parent
062461594b
commit
a6cb2ca16f
@ -11,13 +11,13 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify/svelte": "workspace:*",
|
"@iconify/svelte": "workspace:*",
|
||||||
"@sveltejs/vite-plugin-svelte": "^2.5.3",
|
"@sveltejs/vite-plugin-svelte": "3.0.0-next.3",
|
||||||
"@tsconfig/svelte": "^5.0.4",
|
"@tsconfig/svelte": "^5.0.4",
|
||||||
"svelte": "^4.2.14",
|
"svelte": "5.0.0-next.123",
|
||||||
"svelte-check": "^3.6.9",
|
"svelte-check": "^3.7.1",
|
||||||
"svelte-preprocess": "^5.1.3",
|
"svelte-preprocess": "^5.1.4",
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.2",
|
||||||
"typescript": "^5.4.5",
|
"typescript": "^5.4.5",
|
||||||
"vite": "^5.2.8"
|
"vite": "^5.2.11"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
|
import { mount } from 'svelte';
|
||||||
import App from './App.svelte';
|
import App from './App.svelte';
|
||||||
|
|
||||||
const app = new App({
|
const target = document.getElementById('app')!;
|
||||||
target: document.getElementById('app')!,
|
const app = mount(App, { target });
|
||||||
});
|
|
||||||
|
|
||||||
export default app;
|
export default app;
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"rollup": "^4.14.3",
|
"rollup": "^4.14.3",
|
||||||
"rollup-plugin-svelte": "^7.2.0",
|
"rollup-plugin-svelte": "^7.2.0",
|
||||||
"svelte": "4.2.8",
|
"svelte": "5.0.0-next.123",
|
||||||
"svelte-preprocess": "^5.1.3",
|
"svelte-preprocess": "^5.1.3",
|
||||||
"vitest": "^1.5.0"
|
"vitest": "^1.5.0"
|
||||||
},
|
},
|
||||||
|
466
pnpm-lock.yaml
generated
466
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user