Skip to content

🎨 My Svelte layout template for npm library demo site

License

Notifications You must be signed in to change notification settings

jill64/npm-demo-layout

Repository files navigation

@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

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