starship-svelterprise Svelte Themes

Starship Svelterprise

Svelte: the final frontier. These are the voyages of the starship Svelterprise. Its continuing mission: to explore strange new syntax. To seek out true reactivity and no virtual dom. To boldy go where no dev has gone before!

Starship Svelterprise

Fun with Svelte. Demonstrating concepts such as reactive declarations, props, event forwarding, component bindings, this binding, slots, and context api.

Live demo

Play around on the REPL.


Get started

npm install
npm run dev

Usage

<script>
  import Starfield from './Starfield.svelte';
  import Starship from './Starship.svelte';
</script>

<Starfield width="500" height="250">
  <Starship posX="100" posY="150" />
  <Starship shipClass="galaxy" posX="275" posY="50" />
</Starfield>

Top categories

Loading Svelte Themes