chore: migrate to svelte 5

This commit is contained in:
2026-01-19 17:19:50 +01:00
parent 0f6d88355c
commit b221afee4a
6 changed files with 537 additions and 624 deletions
+9 -3
View File
@@ -12,11 +12,17 @@
smartLists: true,
smartypants: false,
});
/* @type {string} */
export let src;
/**
* @typedef {Object} Props
* @property {string} src
*/
/** @type {Props} */
let { src } = $props();
/* @type {Element[]} */
let content = [];
let content = $state([]);
onMount(async () => {
const DOM_PARSER = new DOMParser();