livebud/bud

How to integrate svelte libraries into bud

开放

#351 创建于 2023年1月10日

 (1 条评论) (0 个反应) (0 位负责人)JavaScript (211 个派生)batch import
help wantedimprovement

仓库指标

星标
 (5,391 个星标)
PR 合并指标
 (30 天内没有已合并 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!

贡献者指南