🎨 My Svelte layout template for npm library demo site
npm i @jill64/npm-demo-layout
If you have problems building with pnpm, try the following
pnpm i -D @jill64/universal-sanitizer
<!-- +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