First, you’ll need to integrate Svelte with a build tool. Popular choices are:
You’ll also want to configure your text editor to treat files the same as for the sake of syntax highlighting. .
You can then interact with using the component API if you need to.