Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)