Thrilled to announce Svelte support in VizHub!
Many thanks to @higsch for the inspiration and motivation to finally unlock this amazing technology in the platform. Here’s a starter that he created, which is also featured in the create viz page:
To “unlock” Svelte with VizHub 3, a small wrapper is needed which looks like this:
import App from './App.svelte';
export const main = (container) => {
const app = new App({
target: container,
hydrate: true,
});
};
The hydrate: true
part makes it work well with hot reloading.
For more Svelte examples, see: