magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
10k stars 388 forks source link

Svelte Installation Docs #131

Closed gursheyss closed 4 months ago

gursheyss commented 4 months ago

Adding some simple installation docs to the already existing svelte installation page

engageintellect commented 3 months ago

@gursheyss I

I've used MagicUI in Next.js, and it was great... aside from Next's painfully slow hot-reloading.

I'm trying to use it with Sveltekit now... I just installed everything, but the docs say that I am supposed to follow the same directions for using components?

Please advise, I'm a little stuck here...

EDIT:

Trying to use the ported components mentioned in #76, And keep running into this (result of /lib/utils.ts):

SyntaxError: [vite] The requested module 'clsx' does not provide an export named 'ClassValue'