Vue + Vite + TypeScript + ESLint + Prettier template for single-page applications
This is a standard web frontend template using Vue and Vue Router.
It is intended for use with the VSCode IDE.
Download the master branch of the repository as a template and modify it.
curl -OL https://github.com/curegit/vue-spa-template/archive/refs/heads/master.zip
unzip master.zip
mv vue-spa-template-master new-project
cd new-project
npm install
code .
npm run dev
Use the --port
option to specify the port.
npm run dev -- --port 8888
npm run build
Use the --base
option to change the public path to be nested.
npm run build -- --base /some/nested/path