Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curegit/vue-spa-template
Vue + Vite + TypeScript + ESLint + Prettier template for single-page applications
https://github.com/curegit/vue-spa-template
eslint npm prettier spa template typescript vue vuejs
Last synced: about 5 hours ago
JSON representation
Vue + Vite + TypeScript + ESLint + Prettier template for single-page applications
- Host: GitHub
- URL: https://github.com/curegit/vue-spa-template
- Owner: curegit
- License: mit
- Created: 2022-12-26T05:14:16.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T09:06:04.000Z (14 days ago)
- Last Synced: 2024-11-04T09:20:17.224Z (14 days ago)
- Topics: eslint, npm, prettier, spa, template, typescript, vue, vuejs
- Language: Vue
- Homepage: https://curegit.github.io/vue-spa-template/
- Size: 283 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```sh
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
```sh
npm run dev
```Use the `--port` option to specify the port.
```sh
npm run dev -- --port 8888
```## Build
```sh
npm run build
```Use the `--base` option to change the public path to be nested.
```sh
npm run build -- --base /some/nested/path
```## License
[MIT](LICENSE)