Skip to content

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!

License

Notifications You must be signed in to change notification settings

jelib3an/starship-svelterprise

Repository files navigation

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>

About

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!

Resources

License

Stars

Watchers

Forks