I installed Vite build tool for Vue and when I ran it (npm run serve
), I got an error that generated the following message
"Missing script: "serve"".
After a little research, I learned that my package.json
was missing the serve
key.
After I added it ("serve": "vite preview"
) and ran it, I received the following error in the browser
"Cannot GET /"