sapper
sapper copied to clipboard
The next small thing in web development, powered by Svelte
Hi, I wrote some tests to understand the evaluation order in Sapper since I do not find the information in the documentation. It might interest other people or be an...
This pull request solves the problem from https://github.com/sveltejs/sapper/issues/922 probably https://github.com/sveltejs/sapper/issues/1074 and some of the problems of https://github.com/sveltejs/sapper/issues/1575 . With this commit it is possible to have the sapper installation in...
## What does this solve? Requests performed in preload functions might set cookies in their response headers. When executed on the server, this data is lost as headers are not...
Fixes #708 by trying to load `src/routes/_layout.{ext}` and `src/routes/_layout/index.{ext}` before falling back to the default layout. Works locally by using `npm link`.
1. Added "any" field Many web frameworks allowing you to match all HTTP methods. https://expressjs.com/en/4x/api.html#app.all for example. 2. See https://nodejs.org/api/http.html#http_response_write_chunk_encoding_callback `res.write()` must return boolean, but it doesn't because data got...
Fixes #970 and related.
Some browsers (Internet Explorer - sorry :( ) have issues when the base href isn't an absolute URI. It's also defined as being absolute by W3C - https://www.w3.org/TR/html4/struct/links.html#edef-BASE This PR...
I started working on this branch when I noticed that assets in static that were being linked to from a webpage got corrupted when running `sapper export` (pdf files in...
Fixes https://github.com/sveltejs/sapper/issues/835.
This PR adds an event listener in order to prefetch links on focus. Closes #900.