Create Vite App

December 17, 2023 ยท View on GitHub

Vite logo


OSCS Status node compatibility build status


Create Vite App

๐Ÿ“– Introduction

Create Vite App resolve Vite create starter template, No need to configure Vite scaffolding templates quickly build vite4 development templates highly customized

๐ŸŒˆ Features

  • โš›๏ธ Support tons of framework templates

  • ๐ŸŒธ One-click deployment of netlify

  • ๐Ÿ“ฆ Select the out-of-the-box package manager

  • ๐Ÿš€ Various characteristics of the corresponding framework

  • โœจ Selection of various Ui frameworks, Theming and layout

  • ๐Ÿฐ A variety of out-of-the-box Vite plugin options

๐Ÿ“ฆ Installation

  npx create-vite-template@latest

๐Ÿฆ„ Usage

ripple-app.gif

๐Ÿ“ฆ Dev Mode

pnpm install
pnpm dev

image

cd packages/vite-cli
npm link

Then you can enter instructions at will on the command line with create-vite | vite4 | vite-cli and update in real time when you modify the code.

๐Ÿค– Feature Comparison

Currently, the template supports the following plugins The supported template presets are:

FrameWork

FrameWorkfinish
Vite3 Vue3โœ… ๐Ÿ†•
Vite3 React18๐Ÿšง ๐Ÿ†•
Nuxt3๐Ÿšง โŒ
Next13๐Ÿšง โŒ

Feature

Feature / Versionfinish
Vue-Router 4.xโœ…
Pinia 2.xโœ…
Eslint 8.xโœ…
Prettier 2.7.xโœ…
TypeScript 5.xโœ…
husky๐Ÿšง โŒ
PWAโœ… ๐Ÿ†•

UI Library

UI Libraryfinish
Element-Plusโœ… ๐Ÿ†•
Naive-UIโœ… ๐Ÿ†•
Vuetify-beta5โœ… ๐Ÿ†•
DevUIโœ… ๐Ÿ†•
Ant-design-vueโœ… ๐Ÿ†•
arco-designโœ… ๐Ÿ†•
TDesignโœ…
Varletโœ…
tdesign-mobile-vueโœ… ๐Ÿ†•
Vantโœ… ๐Ÿ†•

Plugins

Feature / Versionfinish
Vuev3.2.x
Vitev3.0.0 ๐Ÿ†•
@vitejs/plugin-vue-jsxโœ…
@vitejs/plugin-legacyโœ…
vite-plugin-inspectโœ…
vite-plugin-pwaโœ…
unplugin-vue-componentsโœ…
unplugin-auto-importโœ…
Unocssโœ…
rollup-plugin-visualizerโœ…
unplugin-iconsโœ…
Vite-plugin-htmlโœ… ๐Ÿ†•

๐Ÿ›ซ Example With theming

An example of executing dev after successful installation is as follows

  • Tiny Vue

c68a80e2533333a05c2eb429c930cd6

  • Naive UI

image.png

  • Ant Design

image.png

  • Element Plus

image.png

  • Arco Design

image.png

  • DevUI

image.png

  • T-Design

image.png

  • Vuetify

image.png

  • Varlet

image.png

๐ŸŒธ Credits

This project is inspired by X-Build !!!

prepare all in