|
|
3 vuotta sitten | |
|---|---|---|
| .husky | 4 vuotta sitten | |
| .vscode | 4 vuotta sitten | |
| public | 3 vuotta sitten | |
| src | 3 vuotta sitten | |
| .env | 4 vuotta sitten | |
| .env.h5 | 4 vuotta sitten | |
| .eslintignore | 4 vuotta sitten | |
| .eslintrc.js | 4 vuotta sitten | |
| .gitignore | 4 vuotta sitten | |
| .nvmrc | 4 vuotta sitten | |
| LICENSE | 4 vuotta sitten | |
| README.md | 4 vuotta sitten | |
| favicon.ico | 3 vuotta sitten | |
| index.html | 3 vuotta sitten | |
| index_h5.html | 4 vuotta sitten | |
| package.json | 4 vuotta sitten | |
| tailwind.config.js | 4 vuotta sitten | |
| tsconfig.json | 4 vuotta sitten | |
| update.sh | 4 vuotta sitten | |
| update_h5.sh | 4 vuotta sitten | |
| vite.config.h5.ts | 4 vuotta sitten | |
| vite.config.pc.ts | 3 vuotta sitten | |
| vite.config.ts | 4 vuotta sitten | |
| yarn.lock | 4 vuotta sitten |
Create a Vue 2 application bundled by the lightning fast build tool Vite
@vitejs/plugin-vue2 -
Vue 2 support for Viteunplugin-vue-components -
importing Vue components on-demandunplugin-auto-import -
importing APIs like CompositionAPI on-demandvite-plugin-windicss -
easy WindiCSS integrationunplugin-icons -
importing icons as Vue components on-demandCreate a repo from this template on GitHub
If you prefer to do it manually with a cleaner git history
npx degit lstoeferle/vite-vue2-windicss-starter my-vite-vue2-app
cd my-vite-vue2-app
yarn install
Just run and visit http://localhost:3333
yarn dev
To build the App, run
yarn build
And you will see the generated files in dist, which are ready to be served.
Vue 3 is awesome, but we should not forget about supporting Vue 2 ♥️
This project is inspired by Vitesse, an opinionated Vite starter template for Vue 3.
Big thanks to Anthony Fu for the inspiration and all the amazing tools you create.