Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to integrate svelte libraries into bud #351

Open
djumpen opened this issue Jan 10, 2023 · 1 comment
Open

How to integrate svelte libraries into bud #351

djumpen opened this issue Jan 10, 2023 · 1 comment
Labels
help wanted We'd love your help! improvement New feature or request

Comments

@djumpen
Copy link

djumpen commented Jan 10, 2023

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!

@matthewmueller
Copy link
Contributor

Hey Dima! That's similar to this discussion: #99

That's something I'd like to fix soon. Happy to accept any PRs in the meantime!

@matthewmueller matthewmueller added improvement New feature or request help wanted We'd love your help! labels Jan 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We'd love your help! improvement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants