This example was bootstrapped using sveltejs/template-webpack
,
and demonstrates how to setup Vime with Svelte via the @vime/svelte
package. The main files to
look at are:
public/index.html
: Shows how to load the default player themes.src/App.svelte
: Shows how to setup and use the player.src/TapSidesToSeek.svelte
: Shows how to build a custom component.
$: git clone https://github.com/vime-js/vime --depth=1
$: cd vime/examples/svelte
$: npm install
$: npm run dev