Skip to content

Commit 3827d7b

Browse files
chore: update .gitignore and tsconfig.json for Nuxt example
1 parent ef10d5b commit 3827d7b

2 files changed

Lines changed: 38 additions & 4 deletions

File tree

examples/nuxt/.gitignore

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
1-
node_modules
2-
.nuxt
1+
# Nuxt dev/build outputs
32
.output
4-
.graphql
3+
.data
4+
.nuxt
5+
.nitro
6+
.cache
57
dist
8+
9+
# Node dependencies
10+
node_modules
11+
12+
# Logs
13+
logs
14+
*.log
15+
16+
# Misc
17+
.DS_Store
18+
.fleet
19+
.idea
20+
21+
# Local env files
22+
.env
23+
.env.*
24+
!.env.example

examples/nuxt/tsconfig.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
2+
"references": [
3+
{
4+
"path": "./.nuxt/tsconfig.app.json"
5+
},
6+
{
7+
"path": "./.nuxt/tsconfig.server.json"
8+
},
9+
{
10+
"path": "./.nuxt/tsconfig.shared.json"
11+
},
12+
{
13+
"path": "./.nuxt/tsconfig.node.json"
14+
}
15+
],
16+
// https://nuxt.com/docs/guide/concepts/typescript
17+
"files": []
318
}

0 commit comments

Comments
 (0)