sapper Questions

1

Uncaught promise when registering a custom element using the latest sapper, svelte, nodeJS, and rollup stack using the following statements. REPL example: https://svelte.dev/repl/489ee8acd108...
Essie asked 21/12, 2019 at 14:44

2

How to properly post data to server using Sapper JS lib ? Saying : I have a page 'board-editor' where I can select/unselect tiles from an hexagonal grid written in SVG, and adds/substract hex coor...
Diphyllous asked 28/3, 2019 at 9:4

1

Solved

I'm using Svelte and Sapper for a project. Let's say I have some code that needs to read a cookie before it runs, and that code is in a route at say /profile or something. My understanding is that...
Navicert asked 17/12, 2019 at 11:31

1

Solved

Using Svelte, what I want to accomplish is being able to style my html using the css property of a post object I have. I thought, no problem, just add a style tag to my svelte:head with {post.css...
Directed asked 3/12, 2019 at 15:15

1

Solved

I have an <input type="text" /> as a search bar inside a <form>. Because it's a search bar the user should be redirected to a route similar to : /search?q=thingIWantToSearch when the f...
Hilaria asked 23/10, 2019 at 16:25

2

Solved

I am creating a Sapper page, where I'd like to use Google Sign-in button. It requires data-onsuccess attribute to specify callback function. From what I was able to discover from Google's platform ...
Nahshun asked 16/9, 2019 at 9:32

2

Solved

I've decided try out Svelte for my next website, and this will be a static website hosted using GitLab pages. I got the basic compilation working which generates dist/bundle.js and dist/bundle.css...
Fem asked 26/7, 2019 at 17:57

1

My sapper app revolves around a table component. This table component has state (offset, limit, sort, filters, etc) that I would like to represent in the query string of the URL. The table works f...
Arhna asked 23/6, 2019 at 14:41

1

Solved

I come from a React background, but I'm switching to Svelte and Sapper for my next application in order to fight the massive bundle size that comes with React these days. However, I'm having troubl...
Hotel asked 17/6, 2019 at 18:14

© 2022 - 2024 — McMap. All rights reserved.