sapper
sapper copied to clipboard
The next small thing in web development, powered by Svelte
### Description According to documentation: > `src/routes/about/index.svelte` is treated the same as `src/routes/about.svelte` It is reasonable to assume that `src/routes/index/index.svelte` would be treated the same as `src/routes/index.svelte`. So I created...
Hi , I am new to Svelte and facing an issue with a Sapper app deployed on Netlify (same issue with Vercel as well), both the hostings tend to not...
**Describe the bug** URL rewrites don't work with Sapper, the page does not hydrate an the client. The issue occurs when using any kind of redirect middleware, eg. ``` const...
Hey there! I'd like to report a security issue but cannot find contact instructions on your repository. If not a hassle, might you kindly add a `SECURITY.md` file with an...
login POST request ``` async function login(method, token, api_url, path, cred) { const opts = { method, headers: { Accept: "application/json, text/plain, */*", "Content-Type": "application/json", cookie: `ts_09=${token}`, }, credentials: "include",...
If you have a setup such as this: ``` components/ Header.svelte // Includes CSS routes/ subroute/ _layout.svelte // Imports Header.svelte index.svelte // Imports Header.svelte index.svelte // Links to /subroute ```...
if url have chinese, the base path will wrong, and base path wrong cause every css and script wrong. my url: http://127.0.0.1:3000/category/%E7%88%B1%E6%83%85  check page source:  my package.json: ```...
### Setup I'm trying to get the basic Sapper template working with Auth0. In order to do this, I'm first including in a component the client-only async import of my...
There was a small race between the element being added to the DOM and an onload event being triggered, fix this by making sure we have an onload/onerror handlers set...
The change here is to appropriately fetch the baseUrl in cases where the URL is encoded. - **req.originalUrl** - http://localhost:3000/blog/how-to-use%20sapper - **req.url** - http://localhost:3000/blog/how-to-use sapper Current **req.baseUrl** - http://localhost:3000/b/ (Fails...