curegit / vue-spa-template

Vue + Vite + TypeScript + ESLint + Prettier template for single-page applications

Home Page:https://curegit.github.io/vue-spa-template/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue SPA Template

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.

Usage

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 .

Start the dev server

npm run dev

Use the --port option to specify the port.

npm run dev -- --port 8888

Build

npm run build

Use the --base option to change the public path to be nested.

npm run build -- --base /some/nested/path

License

MIT

About

Vue + Vite + TypeScript + ESLint + Prettier template for single-page applications

https://curegit.github.io/vue-spa-template/

License:MIT License


Languages

Language:Vue 77.0%Language:TypeScript 10.8%Language:CSS 6.2%Language:HTML 6.0%