8000 Add setup · github/codespaces-react@fda4302 · GitHub
[go: up one dir, main page]

Skip to content

Commit fda4302

Browse files
committed
Add setup
1 parent 44b177d commit fda4302

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
{
2+
"postAttachCommand": {
3+
"server": "npm start"
4+
},
5+
6+
"portsAttributes": {
7+
"3000": {
8+
"label": "Application",
9+
"onAutoForward": "openPreview"
10+
}
11+
},
12+
13+
"customizations": {
14+
"codespaces": {
15+
"openFiles": ["src/App.js"]
16+
}
17+
},
218
"onCreateCommand": "npm install && npm run build",
319
"postCreateCommand": ""
420
}

0 commit comments

Comments
 (0)
0