规范了git跟踪文件
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
{
|
||||
"name": "Vitepress Project",
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
|
||||
"forwardPorts": ["5173"],
|
||||
"containerEnv": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"forwardPorts": [
|
||||
5173
|
||||
],
|
||||
"containerEnv": {
|
||||
"NODE_ENV": "development"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
@@ -17,11 +19,11 @@
|
||||
}
|
||||
},
|
||||
"portsAttributes": {
|
||||
"5173": {
|
||||
"label": "Web Server",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
},
|
||||
"5173": {
|
||||
"label": "Web Server",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "npm install",
|
||||
"postAttachCommand": "npm add -D vitepress && npm run docs:dev -- --host 0.0.0.0"
|
||||
}
|
||||
Reference in New Issue
Block a user