Skip to content

Components

Joshua Amaju edited this page Nov 18, 2024 · 6 revisions

stack54 ships with default components.

Components

  • Head
  • LiveReload
  • ClientOnly
  • Await

Use Head if you have component styles and svelte:head tags, so they get included in your document

Usage

<script>
  import { Head } from "stack54/components";
</script>

Await

Must be imported as follows

<script>
  import Await from "stack54/components/Await";
</script>
Clone this wiki locally