Lechan Dai 3f383852f8 h5支持 | vor 2 Jahren | |
---|---|---|
.husky | vor 2 Jahren | |
.vscode | vor 2 Jahren | |
public | vor 2 Jahren | |
src | vor 2 Jahren | |
.env | vor 2 Jahren | |
.env.h5 | vor 2 Jahren | |
.eslintignore | vor 2 Jahren | |
.eslintrc.js | vor 2 Jahren | |
.gitignore | vor 2 Jahren | |
.nvmrc | vor 2 Jahren | |
LICENSE | vor 2 Jahren | |
README.md | vor 2 Jahren | |
package.json | vor 2 Jahren | |
postcss.config.js | vor 2 Jahren | |
tailwind.config.js | vor 2 Jahren | |
tsconfig.json | vor 2 Jahren | |
vite.config.h5.ts | vor 2 Jahren | |
vite.config.pc.ts | vor 2 Jahren | |
vite.config.ts | vor 2 Jahren | |
yarn.lock | vor 2 Jahren |
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.