complete-vuejs
complete-vuejs copied to clipboard
Add package.json scripts
I don't know how you did it before but this is the only way I could get vite to build the development server. I did a basic comparison between this repo and the vitejs.dev common app install process.
I had the same error and fixed it by adding the scripts to package.json. You can replicate the problem running npm vite src
, and will get the unknown command error.
Hi @StephanoAH, since vite
is an executable you probably want npx vite src
. yarn
does this automatically.