Skip to content

Commit 430fa1e

Browse files
committed
devcontainer更新
1 parent d6677d6 commit 430fa1e

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

.devcontainer/devcontainer.json

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
{
2-
"name": "Untitled Node.js project",
3-
"build": {
4-
"dockerfile": "Dockerfile"
5-
},
2+
"name": "Untitled Node.js project",
3+
"build": {
4+
"dockerfile": "Dockerfile"
5+
},
66
"remoteUser": "node",
7-
"forwardPorts": [5173],
7+
"portsAttributes": {
8+
"5173": {
9+
"label": "Application"
10+
}
11+
},
12+
"forwardPorts": [
13+
5173
14+
],
815
"customizations": {
916
"vscode": {
10-
"extensions": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
17+
"extensions": [
18+
"Vue.volar",
19+
"Vue.vscode-typescript-vue-plugin"
20+
]
1121
}
1222
}
1323
}

0 commit comments

Comments
 (0)