对devcontainer.json进行修改ia
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
{
|
||||
"name": "Vitepress Project",
|
||||
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
|
||||
"forwardPorts": [
|
||||
5173
|
||||
],
|
||||
"postCreateCommand": "npm install && npm add -D vitepress",
|
||||
"postAttachCommand": "npm run docs:dev -- --host 0.0.0.0",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
@@ -17,5 +12,13 @@
|
||||
"settings": {}
|
||||
}
|
||||
},
|
||||
"portsAttributes": {
|
||||
"5173": {
|
||||
"label": "Web Server",
|
||||
"onAutoForward": "notify"
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "npm install && npm add -D vitepress",
|
||||
"postAttachCommand": "npm run docs:dev -- --host 0.0.0.0",
|
||||
"remoteUser": "node"
|
||||
}
|
||||
Reference in New Issue
Block a user