crewdevio / Snel

A Cybernetical tool for svelte applications on deno
https://crewdevio.mod.land/projects/Snel
MIT License
315 stars 13 forks source link

Docs: Using third-party components? #47

Closed NfNitLoop closed 2 years ago

NfNitLoop commented 2 years ago

How do I use third-party Svelte components with Snel?

For example, I'd love to use https://www.npmjs.com/package/svelte-spa-router/

In npm-based Svelte, I'd just npm install --save that dependency, and then I could import it by name. I tried importing it via esm.sh and others but they don't seem to be able to make a module out of its Router.svelte file.

buttercubz commented 2 years ago

see https://github.com/crewdevio/Snel/discussions/25 and https://github.com/crewdevio/Snel/discussions/27