The default Sapper template. To clone it and get started:
npx degit sveltejs/sapper-template my-app
cd my-app
npm install # or yarn!
npm run dev
Open up localhost:3000 and start clicking around.
Anchor links don't jump to the correct position
Not seen in Chrome 67.0.3396.99
- In Firefox 61.0.1...
- Click on a link and it will appropriately jump you down to that portion of the page
- Copy the url
- Paste the url and hit return. The page will initially load and then jump back up to the top of the page.
Anchor links need the full path
This is appears in FF, Chrome and Safari
- Navigate to localhost:3000/blog, click one of the links, which have an
href
of#{post.slug}
- Instead of the normal behavior of appending
#<my-slug>
to the end of the url, it navigates tolocalhost:3000/<my-slug>
.
See https://github.com/mhkeller/anchor-test-two for normal anchor browser behavior.