English | 中文
create project - npm create proj
npm create proj my-proj
┌ [email protected]
│
● create project - npm create proj
│
◆ Node.js version 20 is compatible with 18
│
◇ Currently using the latest version
│
◇ Select a template
│ React
│
▲ The project directory is: /path/to/my-proj
│
◇ Select node version
│ v22.x
│
◇ Select npm registry
│ npmmirror
│
◇ Select code linter
│ biome
│
◇ Generated project 37 files
│
◇ Git repository initialized successfully
│
◆ The project has been created successfully!
│
◆ cd my-proj to start your coding journey
│
└ 🎉🎉🎉
Template | React | Vue |
---|---|---|
Framework | React@19 | Vue@3 |
Language | TypeScript | TypeScript |
Build Tool | Vite | Vite |
Routing | React Router | Vue Router |
File-based Routing | @generouted/react-router | Unplugin Vue Router |
Atomic CSS | UnoCSS | UnoCSS |
Preprocessor | Sass | Sass |
SVG Icons | Vite SVG Sprite | Vite SVG Sprite |
State Management | Valtio | Pinia |
API Requests | Axios | Axios |
API Sync | openapi-axios | openapi-axios |
API Hooks | Ahooks - useRequest | Vue-request - useRequest |
Formatting 1 | Biome | Biome |
Formatting 1 | ESLint | ESLint |
Formatting 1 | Prettier | Prettier |
Formatting | StyleLint | StyleLint |
Git Hooks | Lefthook | Lefthook |
Git Messages | Commitlint | Commitlint |
Note 1: You will be prompted to choose between ESLint + Prettier or Biome as your formatting tool when creating the project.