mirror of
https://github.com/lstoeferle/vite-vue2-starter
synced 2025-02-23 21:22:18 +08:00
33 lines
950 B
Markdown
33 lines
950 B
Markdown
# Vite ⚡ - Vue 2 starter template
|
|
|
|
This starter template will help you to easily create a Vue2 application bundled by the lightning fast build tool called [Vite](https://github.com/vitejs/vite). Besides Vite this template also provides:
|
|
|
|
|
|
* Typescript support
|
|
* Vue Router
|
|
* Vue Composition-API
|
|
* WindiCSS (TailwindCSS) + Dark Mode
|
|
|
|
## :package: Vite plugins
|
|
|
|
* [`vite-plugin-vue2`](https://github.com/underfin/vite-plugin-vue2) -
|
|
Vue 2 support for Vite
|
|
* [`vite-plugin-components`](https://github.com/antfu/vite-plugin-components) -
|
|
On demand components auto importing for Vite
|
|
* [`vite-plugin-windicss`](https://github.com/windicss/vite-plugin-windicss) -
|
|
WindiCSS/TailwindCSS for Vite
|
|
|
|
## :rocket: Getting started
|
|
|
|
1. Install dependencies
|
|
```bash
|
|
npm install
|
|
```
|
|
2. Start dev server
|
|
```bash
|
|
npm run dev
|
|
```
|
|
3. Visit the page
|
|
<a href="http://localhost:8080" target="_blank">http://localhost:8080</a>
|
|
|
|
|