You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made a small svelte component library and I wondered which is best use my component for consumer, such as:
just publish .svelte file and import it.
build with packaging module like rollup and publish.
But I chose that just publish .svelte file and imported it simply.
I tried build and import in a my sveltekit testing module but it didn't work.
What is best of the publishing component library? is there a example for Svelte and SvelteKit?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I made a small svelte component library and I wondered which is best use my component for consumer, such as:
.svelte
file and import it.But I chose that just publish
.svelte
file and imported it simply.I tried build and import in a my sveltekit testing module but it didn't work.
What is best of the publishing component library? is there a example for Svelte and SvelteKit?
Beta Was this translation helpful? Give feedback.
All reactions