partytown-sveltekit

Partytown Sveltekit

Simple svelte wrappers for @builder.io/partytown

partytown-sveltekit

A simple svelte wrapper for @builder.io/partytown

Install

npm i -D partytown-sveltekit

Setup

Partytown requires some scripts to be served by the app and provides a convinience script to achieve this.

sveltekit

npx @builder.io/partytown copylib static/~partytown

svelte

npx @builder.io/partytown copylib public/~partytown

Usage

  • In your layout : ```html
```
  • To include a third-party script : ```html
```

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes