npm-demo-layout Svelte Themes

Npm Demo Layout

🎨 My Svelte layout template for npm library demo site

@jill64/npm-demo-layout

npm-version npm-license npm-download-month npm-min-size ci.yml website

🎨 My Svelte layout template for npm library demo site

Demo

Installation

npm i @jill64/npm-demo-layout

If you have problems building with pnpm, try the following

pnpm i -D @jill64/universal-sanitizer

Usage

<!-- +layout.svelte -->
<script lang="ts">
  import { Layout } from '@jill64/npm-demo-layout'
</script>

<Layout>
  <slot />
</Layout>
// hooks.server.ts
import { hooks } from '@jill64/npm-demo-layout'

export const handle = hooks

License

MIT

Top categories

Loading Svelte Themes