livebud/bud

How to integrate svelte libraries into bud

Offen

#351 geöffnet am 10.01.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (211 Forks)batch import
help wantedimprovement

Repository-Metriken

Stars
 (5.391 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hello, is there any docs about how can I use modules like sveltestrap/smelte/etc inside bud app? All I do is

<script>
    import Button from '@smui/button';
</script>

<Button>Click me</Button>

and getting errors view: open error error=budhttp: open returned unexpected 500. budfs: open "bud/node_modules/@smui/button". ✘ [ERROR] No loader is configured for ".svelte" files: node_modules/@smui/button/dist/Button.svelte

What additional configuration should I apply to make this?

Thank you!

Contributor Guide