e2e/solid-router/scroll-restoration-sandbox-vite
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
Scroll Restoration Testing Sandbox with Vite#
To run this example:
npm installnpm start
This sandbox is for testing the scroll restoration behavior.
Setup#
- Create your files in
src/routesdirectory. - Make sure you update the arrays in the following files with the expected routes
tests/app.spec.ts> routes arraysrc/routes/__root.tsx> Nav component, routes arraysrc/routes/index.tsx> Navigation test suite, routes array