Open glennsc opened 1 year ago
Currently, this is by design. The docs state: "After installation, start the wizard by running: ...". We can do that probably though. I'll have to check why it was not added earlier 👀
This tripped me up too, as many other npx ...
commands for creating projects do include the software used in the dependencies, normally you don't need to do npm add -D ...
and npx ... init
Describe the bug
Running
npx vitepress init
and following the default prompts leaves you with a package.json with the vitepress scripts, but no dependency on vitepress itself, so the scripts don't run.I looked through closed issues and don't see any indication this is by design.
Reproduction
Take defaults on every prompt. Result:
Expected behavior
The vitepress dependency would have been installed.
System Info