将npm install操作移回postCreateCommand生命周期

This commit is contained in:
2025-12-04 11:12:29 +08:00
parent 0a3e130f81
commit 291efdc9d9

View File

@@ -22,5 +22,6 @@
"onAutoForward": "notify"
}
},
"postAttachCommand": "npm install && npm add -D vitepress && npm run docs:dev -- --host 0.0.0.0"
"postCreateCommand": "npm install",
"postAttachCommand": "npm add -D vitepress && npm run docs:dev -- --host 0.0.0.0"
}