partytown icon indicating copy to clipboard operation
partytown copied to clipboard

need svelte integration

Open MDALIMULALRAZY opened this issue 2 years ago • 3 comments

MDALIMULALRAZY avatar Mar 04 '22 18:03 MDALIMULALRAZY

hey @MDALIMULALRAZY - take a look at this for how to integrate with svelte https://partytown.builder.io/html

steve8708 avatar Mar 04 '22 18:03 steve8708

Remember to add preserve: ['partytown'] to svelte preprocess options on svelte.config.js file. Doing so will tell svelte not to try to preprocess partytown scripts

outerlook avatar Mar 30 '22 14:03 outerlook

@MDALIMULALRAZY I just published a svelte wrapper for partytown : https://www.npmjs.com/package/partytown-sveltekit

I also made a fork of this repo to provide native svelte support but I might need some help on this :sweat_smile: https://github.com/romaindurand/partytown/commit/ee08176d082b84f3334e7c85898ceee2054a6963

romaindurand avatar Apr 07 '22 16:04 romaindurand

https://partytown.builder.io/sveltekit docs have since been adding. Thanks

adamdbradley avatar Mar 21 '23 15:03 adamdbradley