Lechan Dai 00d44fa448 ui | 2 years ago | |
---|---|---|
.husky | 2 years ago | |
.vscode | 2 years ago | |
public | 2 years ago | |
src | 2 years ago | |
.env | 2 years ago | |
.env.h5 | 2 years ago | |
.eslintignore | 2 years ago | |
.eslintrc.js | 2 years ago | |
.gitignore | 2 years ago | |
.nvmrc | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
dist.zip | 2 years ago | |
package.json | 2 years ago | |
postcss.config.js | 2 years ago | |
tailwind.config.js | 2 years ago | |
tsconfig.json | 2 years ago | |
vite.config.h5.ts | 2 years ago | |
vite.config.pc.ts | 2 years ago | |
vite.config.ts | 2 years ago | |
yarn.lock | 2 years ago |
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.