livebud/bud

How to integrate svelte libraries into bud

Ouverte

#351 ouverte le 10 janv. 2023

 (1 commentaire) (0 réaction) (0 personne assignée)JavaScript (211 forks)batch import
help wantedimprovement

Métriques du dépôt

Stars
 (5 391 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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!

Guide contributeur