Skip to content

Be-UI/Be-CLI

Repository files navigation

test

A cli for quickly generating project templates, supporting vite, vue3, react, element-plus, ant design, windicss, unocss

Be-CLI

A cli for quickly generating project template

test

Be-CLI πŸ¦‹ πŸš€

A simple project template with Vite.js

This template should help get you started developing with Vue or React and Typescript in Vite in a bliss.

Features

Styling

  • UnoCSS with The instant on-demand Atomic CSS engine.
  • WindiCSS Next generation utility-first CSS framework.

UI Components

  • Element-Plus πŸŽ‰ A Vue.js 3 UI Library made by Element team
  • Ant Design Vue 🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜

Unit Test

  • Vitest A Vite-native test framework. It's fast!
  • Jest Delightful JavaScript Testing.

How to ues ?

Install

$ pnpm install be-ui-cli --global

2.Input your project name

$ sudo be-ui-cli create
? please input your project name β€Ί be-cli-project

3. Select template type

? please select a template type β€Ί 
❯   vue + vite template
    react + vite template
    lib template

4. Select UI component

? please select a ui component library β€Ί
❯   element-plus
    ant design vue

4. Select a css atom library

? please select a css atom library β€Ί
❯   windicss
    unocss
    Don't need

5. Select a unit test library

? please select a unit test library β€Ί
❯   vitest
    jest
    Don't need

create project

start creating project <be-cli-project> ...
β ‹ Loading
start creating package.json ...

start setting windicss ...

set windicss success !

start setting vitest ...

set vitest success !

create package.json success !
βœ” 
create project <be-cli-project> success !

Other

-v | --version

Display version message

be-ui-cli -v

-h | --help

Display help message

be-ui-cli -h

test