Just a quick bit of example code, almost the same as the nested one on the Svelte REPL, with a few extra experiments (e.g. using {{yield}}
and having multiple copies.
Does not require node.js, or node_modules, or any bundler.
svelte compile
the .html files under components
to the dist foldernpm run build
or npm run dev
for the development versionBuild outputs to 'dist' subfolder, just open dist/index.html
in any browser.