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

Runtime error #1

Open
pixelpunch opened this issue Jun 7, 2019 · 4 comments
Open

Runtime error #1

pixelpunch opened this issue Jun 7, 2019 · 4 comments

Comments

@pixelpunch
Copy link

pixelpunch commented Jun 7, 2019

Hi

I am getting this error every time I try to run the dev server

[!] (svelte plugin) ParseError: Directive value must be a JavaScript expression enclosed in curly braces
node_modules/svelte-bulma-components/src/dropdown/Dropdown.html
1: <svelte:window on:click="close()" />
1 ^

@pixelpunch
Copy link
Author

Hi
Me again. I have a project set up with 'index.html', 'main.js' and 'App.svelte'. I have npm installed svelte-bulma-components, bulma and font-awesome. I have followed your instructions and tried lots of other ways, but can't make it work. Can you please tell me where/how I should be using the components? Thanks a ton! - PP

@elcobvg
Copy link
Owner

elcobvg commented Jun 8, 2019

It's probably because you're using Svelte 3? I haven't had the time yet to update this package.

@pixelpunch
Copy link
Author

Thanks for the response. Yes. I am using Svelte 3.
Do you plan to update the package soon? Maybe in the interim, just mention that it doesn't work with Svelte 3 - will save time for others.
And great job with the package. Looking forward to working with this and your other 'forms' package too.

@tmclane
Copy link

tmclane commented Apr 10, 2020

@pixelpunch in case you or someone else is still looking for something like this:
https://github.com/c0bra/svelma is up to date and works with Svelte3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants