Skip to content

FrontEndDev-org/create-proj

Repository files navigation

中文 | English

create-proj

npm version

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
│
└  🎉🎉🎉

模板

模板 React Vue
框架 React@19 Vue@3
语言 TypeScript TypeScript
构建工具 Vite Vite
路由系统 React Router Vue Router
文件路由 @generouted/react-router Unplugin Vue Router
原子化样式 UnoCSS UnoCSS
预处理器 Sass Sass
SVG 图标 Vite SVG Sprite Vite SVG Sprite
状态管理 Valtio Pinia
接口请求 Axios Axios
接口同步 openapi-axios openapi-axios
接口 Hook Ahooks - useRequest Vue-request - useRequest
格式化 1 Biome Biome
格式化 1 ESLint ESLint
格式化 1 Prettier Prettier
格式化 StyleLint StyleLint
Git 钩子 Lefthook Lefthook
Git 消息 Commitlint Commitlint

注意 1: 格式化工具 ESLint + Prettier 或 Biome 在创建工程时会提示你二者选其一。