creativetimofficial / notus-svelte

Notus Svelte: Free Tailwind CSS UI Kit and Admin
https://www.creative-tim.com/product/notus-svelte
MIT License
831 stars 431 forks source link

[Feature Request] how to use this with sveltekit? #20

Open bokunodev opened 2 years ago

bokunodev commented 2 years ago

What is your enhancement?

sveltekit compatible

jahbini commented 1 year ago

The binding of dropdown menu stuff (ex. btnDropdownRef in files routes/*Dropdown.svelte) does not travel well into a svelte kit environment. Is this binding method something that rollup svelte does under the table? Or is there a package to install?

jahbini commented 1 year ago

I have tried to learn Sveltekit by modifying the code. My result is in https://github.com/jahbini/notus-svelte-dashboard.git (a direct clone) under the fork "forkit."

It seems to do all the right stuff to reproduce the demo pages, while adhering to svelte kit methodology. Mostly.