livebud/bud

How to integrate svelte libraries into bud

オープン

#351 opened on 2023/01/10

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (211 件のフォーク)batch import
help wantedimprovement

Repository metrics

Stars
 (5,391 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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!

コントリビューターガイド