0.5.9 โ€ข Published 5 months ago

create-vite-template v0.5.9

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

Vite CLI ๐Ÿšง๐Ÿšง

OSCS Status

๐Ÿšง๐Ÿšง Build highly customized scaffold out of the box based on vite3

Log

  • 0.15.1-alpha Refactor Map mapping refactoring EJS 2022.7.21 ๐Ÿ“ฆ๐Ÿ“ฆ

  • 0.15.2-alpha Refactor refactor Ejs render way 2022.7.25 ๐ŸŒˆ ๐ŸŒˆ

  • 0.15.5-alpha Refactoring command line architecture supports npx creation 2022.7.27 ๐ŸŒˆ ๐ŸŒˆ

  • 0.15.6-alpha Refactoring npx creation Success 2022.7.27 ๐ŸŒˆ ๐ŸŒˆ

  • 0.15.8-alpha Fix file already and some bug 2022.7.30 ๐ŸŒˆ ๐ŸŒˆ

  • Big Break 0.15.9-alpha Reconstruct production dependence 2022.8.1 ๐Ÿ“ฆ๐Ÿ“ฆ

Start ๐Ÿ“ฆ๐Ÿ“ฆ

  • Recommended to use pnpm to install Vite CLI .
  npx create-vite-template@latest
  • Enter 'vite' on the command line to check whether the installation is successful

image.png

  • Step1 Select the package manager that needs to be created. It is recommended to use pnpm to create projects
๐ŸŽจ  ๐ŸŽจ   VITE_CLI V-0.0.9-alpha   ๐ŸŽจ  ๐ŸŽจ

๐Ÿš€ Welcome To Create Template for Vite!

? ้€‰ๆ‹ฉๆ‚จ็š„ๅŒ…็ฎก็†ๅ™จ (Use arrow keys)
> Pnpm
  Yarn
  Npm
  • Step2 Select the dependency to add the project
โˆš Add Vue Router for Single Page Application development? ... No / Yes
โˆš Add Pinia for state management? ... No / Yes
โˆš Add ESLint for code quality? ... No / Yes
โˆš Add Prettier for code formatting? ... No / Yes
? choose Your Device (้€‰ๆ‹ฉ็›ฎๆ ‡่ฎพๅค‡) ยป - Use arrow-keys. Return to submit.
>   PC
    ็งปๅŠจ็ซฏ
? choose UI frameWork (้€‰ๆ‹ฉๆ‚จ็š„ UI ๆก†ๆžถ) ยป - Use arrow-keys. Return to submit.
>   Element Plus
    Vuetify3 Beta
    Naive UI
    Ant Design Vue 2.x
    DevUI
    arco-design
    TDesign
    Varlet
    Vant 3.x
    tdesign-mobile-vue
  • Step3 Select custom import vite plugin
? Custorm Plugins (่‡ชๅฎšไน‰ไฝ ็š„ๆ’ไปถ) (Press <space> to select, <a> to toggle all, <i> to invert selection)
( )   @vitejs/plugin-vue-jsx ๆไพ› Vue 3 JSX ๆ”ฏๆŒ
( )   @vitejs/plugin-legacy ไธบๆ‰“ๅŒ…ๅŽ็š„ๆ–‡ไปถๆไพ›ไผ ็ปŸๆต่งˆๅ™จๅ…ผๅฎนๆ€งๆ”ฏๆŒ
( )   vite-plugin-html ๆž„ๅปบๆ‚จ็š„index.html
( )   unplugin-vue-components ่‡ชๅŠจๆŒ‰้œ€ๅฏผๅ…ฅVue็ป„ไปถ
( )   unplugin-auto-import ่‡ชๅŠจๅผ•ๅ…ฅApi
( )   Unocss ๅณๆ—ถ็š„ๆŒ‰้œ€ๅŽŸๅญ CSS ๅผ•ๆ“Ž
( )   vite-plugin-pwa ้›ถ้…็ฝฎ PWA
( )   vite-plugin-inspect ๆจกๅ—่ฟ่กŒๆ—ถไพ่ต–ๅฏ่ง†ๅŒ–
( )   rollup-plugin-visualizer ๆ‰“ๅŒ…ๅŽๅŒ…ไฝ“็งฏๅˆ†ๆž
( )   unplugin-icons ๆŒ‰้œ€ๅŠ ่ฝฝๅ›พๆ ‡ๅบ“

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

FrameWorkfinish
Vite3 Vue3๐Ÿšงโœ…
Vite3 React18๐ŸšงโŒ
Nuxt๐ŸšงโŒ
Feature / VersionfinishUI Libraryfinish
Vue-Router 4.xโœ…Element-Plusโœ…
Pinia 2.xโœ…Naive-UIโœ…
Vuetify-beta5โœ…
Eslint 8.xโœ…DevUIโœ…
Prettier 2.7.xโœ…Ant-design-vueโœ…
TypeScript 4.7.xโœ…arco-designโœ…
husky๐ŸšงโŒTDesignโœ…
PWA๐ŸšงโŒVarletโœ…
tdesign-mobile-vue๐ŸšงโŒ
Vant๐ŸšงโŒ
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โœ… new add

An example of executing dev after successful installation is as follows

  • Naive UI

556f861a3f20322adca15fd31855381.png

  • Ant Design

e917270fc8fc23a3aa17b2fa831d564.png

  • Element Plus

c74c77d05a9008e88dee87640ce06e3.png

  • Arco Design

image.png

  • DevUI

image.png

  • T-Design

image.png

  • Vuetify

image.png

  • Varlet

image.png

0.5.9

5 months ago

0.5.6

8 months ago

0.3.8

9 months ago

0.4.0

9 months ago

0.5.2

9 months ago

0.5.1

9 months ago

0.3.7

11 months ago

0.3.6

11 months ago

0.3.5

11 months ago

0.3.4

11 months ago

0.3.3

11 months ago

0.3.0

11 months ago

0.23.22

12 months ago

0.3.2

11 months ago

0.3.1

11 months ago

0.23.17

1 year ago

0.23.19

1 year ago

0.23.20

1 year ago

0.23.16

1 year ago

0.23.13

1 year ago

0.23.14

1 year ago

0.23.11

1 year ago

0.23.9

1 year ago

0.23.8

1 year ago

0.23.5

1 year ago

0.23.7

1 year ago

0.23.4

1 year ago

0.23.3

1 year ago

0.23.2

1 year ago

0.23.1

1 year ago

0.23.0

1 year ago

0.22.2

1 year ago

0.22.1

1 year ago

0.22.0

1 year ago

0.21.3

1 year ago

0.21.1

1 year ago

0.21.0

1 year ago

0.20.1

1 year ago

0.20.0

1 year ago

0.19.18

1 year ago

0.19.17

1 year ago

0.19.16

1 year ago