添加forwardPorts配置

This commit is contained in:
2025-11-24 21:15:43 +08:00
parent 72aac662e9
commit 0a3e130f81

View File

@@ -1,6 +1,10 @@
{
"name": "Vitepress Project",
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-18-bullseye",
"forwardPorts": ["5173"],
"containerEnv": {
"NODE_ENV": "development"
},
"customizations": {
"vscode": {
"extensions": [