I have three files inside a slug. I use slug parameters as directory name. The problem I am having is everything except the each loop in taglist. For some reason it does not receive the prop tagList. …
Tag: sapper
How to run server-sent events in svelte component in sapper
I have a svelte component named [symbol].svelte in which I want to initiate a connection to a streaming service to receive server-sent events. I’ve not found a way to do this successfully. Since EventSource only runs in the browser, I initialized it in the onMount function like so: This works fine, except when I navigate to another route that uses
Error when import a node_module on svelte
i have to create a module to use on my application, but when I import that in my major project i have this error I have not the folder dist/index.js, in the guide I followed I did not see that it was necessary to make the package, also in another project i did not have these problems. My version of