Skip to content

Commit c8f201e

Browse files
committed
add files
1 parent 736d515 commit c8f201e

18 files changed

+1025
-34
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
.netlify
7+
.wrangler
8+
/.svelte-kit
9+
/build
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Env
16+
.env
17+
.env.*
18+
!.env.example
19+
!.env.test
20+
21+
# Vite
22+
vite.config.js.timestamp-*
23+
vite.config.ts.timestamp-*

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/errors-layout-group-reproduce.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

README.md

Lines changed: 9 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,14 @@
1-
# sv
1+
**This repo reproduces the error in the current SvelteKit version.**
22

3-
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
3+
App in the repo has such routing
44

5-
## Creating a project
6-
7-
If you're seeing this, you've probably already done this step. Congrats!
8-
9-
```bash
10-
# create a new project in the current directory
11-
npx sv create
12-
13-
# create a new project in my-app
14-
npx sv create my-app
15-
```
16-
17-
## Developing
18-
19-
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20-
21-
```bash
22-
npm run dev
23-
24-
# or start the server and open the app in a new browser tab
25-
npm run dev -- --open
265
```
27-
28-
## Building
29-
30-
To create a production version of your app:
31-
32-
```bash
33-
npm run build
6+
(app)
7+
-- [id=bigint]
8+
---- +page.svelte
9+
-- +error.svelte
3410
```
3511

36-
You can preview the production build with `npm run preview`.
37-
38-
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
39-
# svelte-mathing-error
12+
When you open the page with the parameter which is not bigint, you should see the +error page.
13+
But, instead, you see the default SvelteKit error page.
14+
Excepted behavior: +error page should be shown.

jsconfig.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "./.svelte-kit/tsconfig.json",
3+
"compilerOptions": {
4+
"allowJs": true,
5+
"checkJs": false,
6+
"moduleResolution": "bundler"
7+
}
8+
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
9+
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
10+
//
11+
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
12+
// from the referenced tsconfig.json - TypeScript does not merge them in
13+
}

package.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"name": "errors-layout-group-reproduce",
3+
"private": true,
4+
"version": "0.0.1",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite dev",
8+
"build": "vite build",
9+
"preview": "vite preview",
10+
"prepare": "svelte-kit sync || echo ''"
11+
},
12+
"devDependencies": {
13+
"@sveltejs/adapter-auto": "^4.0.0",
14+
"@sveltejs/kit": "^2.16.0",
15+
"@sveltejs/vite-plugin-svelte": "^5.0.0",
16+
"svelte": "^5.0.0",
17+
"vite": "^6.0.0"
18+
},
19+
"pnpm": {
20+
"onlyBuiltDependencies": [
21+
"esbuild"
22+
]
23+
}
24+
}

0 commit comments

Comments
 (0)