elcobvg / svelte-bulma-components

Collection of Bulma UI components to be used in Svelte or standalone
http://svelte-bulma-components.surge.sh/
MIT License
93 stars 6 forks source link

Runtime error #1

Open pixelpunch opened 5 years ago

pixelpunch commented 5 years ago

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: 1 ^

pixelpunch commented 5 years ago

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 commented 5 years ago

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

pixelpunch commented 5 years ago

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 commented 4 years ago

@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