0.0.5 • Published 5 months ago

vike-svelte v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

npm version

🚧 WIP vike-svelte

SolidJS integration for Vike (using the V1 design).

!NOTE
For integrations with React and Vue, see the other vike-* packages.

See examples/.

Feel free for issue! PR Welcome !

Roadmap

  • 0.x (vite 4.x/svelte 4.x/nodejs 16.x)
  • 1.x (vite 5.x/svelte 5.x/nodejs 18.x)

Difference with vike-{react, vue, solid}

svelte:head

<svelte:head> will insert elements into document.head, so the Head Config of config.h.ts is no needed.

vike context

Svelte has a specified context. This context should be getContext().

import { VikeContextKey } from 'vike-svelte/usePageContext'
const pageContext = getContext(VikeContextKey);
0.0.5

5 months ago

0.0.1

6 months ago

0.0.3

6 months ago

0.0.2

6 months ago

0.0.4

6 months ago

0.0.0

1 year ago