将npm install操作移回postCreateCommand生命周期
This commit is contained in:
@@ -22,5 +22,6 @@
|
|||||||
"onAutoForward": "notify"
|
"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"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user