{"id":13691806,"url":"https://github.com/uni-helper/create-uni","last_synced_at":"2026-04-08T05:01:08.799Z","repository":{"id":179040754,"uuid":"659111862","full_name":"uni-helper/create-uni","owner":"uni-helper","description":"🛠️快速创建uni-app项目","archived":false,"fork":false,"pushed_at":"2026-04-08T03:03:33.000Z","size":3123,"stargazers_count":287,"open_issues_count":1,"forks_count":21,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-08T04:26:16.388Z","etag":null,"topics":["cli-app","uni-app","vue3"],"latest_commit_sha":null,"homepage":"https://uni-helper.cn/create-uni","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uni-helper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["ModyQyW","KeJunMao","Neil Lee","FliPPeDround"],"custom":["https://afdian.com/a/kejun","https://github.com/ModyQyW/sponsors","https://afdian.com/a/zguolee","https://afdian.com/a/flippedround"]}},"created_at":"2023-06-27T06:57:03.000Z","updated_at":"2026-04-08T03:03:33.000Z","dependencies_parsed_at":"2026-02-23T06:04:05.754Z","dependency_job_id":null,"html_url":"https://github.com/uni-helper/create-uni","commit_stats":null,"previous_names":["uni-helper/create-uni","flippedround/create-uni"],"tags_count":167,"template":false,"template_full_name":null,"purl":"pkg:github/uni-helper/create-uni","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uni-helper%2Fcreate-uni","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uni-helper%2Fcreate-uni/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uni-helper%2Fcreate-uni/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uni-helper%2Fcreate-uni/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uni-helper","download_url":"https://codeload.github.com/uni-helper/create-uni/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uni-helper%2Fcreate-uni/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31540826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli-app","uni-app","vue3"],"created_at":"2024-08-02T17:00:50.625Z","updated_at":"2026-04-08T05:01:08.790Z","avatar_url":"https://github.com/uni-helper.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ModyQyW","https://github.com/sponsors/KeJunMao","https://github.com/sponsors/Neil Lee","https://github.com/sponsors/FliPPeDround","https://afdian.com/a/kejun","https://github.com/ModyQyW/sponsors","https://afdian.com/a/zguolee","https://afdian.com/a/flippedround"],"categories":["Cli"],"sub_categories":[],"readme":"\u003cimg src='./blink.svg' /\u003e\n\u003ca href=\"https://github.com/uni-helper/create-uni/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/uni-helper/create-uni?colorA=09090b\u0026colorB=fafafa\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\u003ca href=\"https://npmx.dev/package/create-uni\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/create-uni?colorA=09090b\u0026colorB=fafafa\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\u003ca href=\"https://npmx.dev/package/create-uni\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/create-uni?colorA=09090b\u0026colorB=fafafa\u0026style=for-the-badge\"\u003e\u003c/a\u003e\n\n\u003cbr /\u003e\n\n# 📦 使用\n\n```shell\n# npm\n    npm create uni@latest\n\n# yarn\n    yarn create uni\n\n# pnpm\n    pnpm create uni\n```\n\n\u003e [!IMPORTANT]\n\u003e 建议添加上标记名（@latest），否则 npm 可能会解析到缓存的过时软件包版本。\n\u003e\n\u003c!-- \u003cimg src='./Terminal.svg' /\u003e --\u003e\n\n## 📖 介绍\n\n`create-uni` 是一个用于快速创建 uni-app 项目的轻量脚手架工具，它可以帮助你快速创建一个基于`vite`和`vue3`的`uni-app`项目，同时提供了一些模板供你选择。\n\n\u003cp align=\"center\"\u003e\u003cimg  src=\".github/image/demo.png\"\u003e\u003c/p\u003e\n\n## 🚤 快速使用\n\n```shell\npnpm create uni --gui\n```\n\n```shell\npnpm create uni \u003c项目名称\u003e --ts -m pinia -m uniUse -u ano -e\n```\n\n```shell\nnpx @create-uni/info@latest\n# --info  获取当前项目环境信息\n```\n\n### 参数说明\n\n| 配置项 | 参数 | 别名 | 可选值 |\n|  :---: | :---: | :---: | :---: |\n| Template | —— | t | 见[模板列表](#模板列表) |\n| TypeScript | ts | —— | —— |\n| Plugin | pluginList | p | 见[插件列表](#插件列表) |\n| Module | moduleList | m | 见[模块列表](#模块列表) |\n| UI | ui | u | 见[组件列表](#组件列表) |\n| Eslint | eslint | e | —— |\n| gui | gui | —— | —— |\n| info | info | —— | —— |\n\n#### 📦模板列表\n\n| 模板名 | 描述 | 参数名 |\n| :---: | :---: | :---: |\n| [vitesse-uni-app](https://github.com/uni-helper/vitesse-uni-app) | 由 Vite \u0026 uni-app 驱动的跨端快速启动模板 | vitesse |\n| [wot-starter](https://github.com/wot-ui/wot-starter) | 基于 vitesse-uni-app 的 wot-ui 快速起手模板 | wot-starter |\n| [wot-starter-retail](https://github.com/wot-ui/wot-starter-retail) | 基于 wot-ui 的 uni-app 零售行业模板 | wot-starter-retail |\n| [uview-pro-starter](https://github.com/anyup/uView-Pro-Starter) | 基于 vitesse-uni-app 的 uView Pro 快速启动模板 | uview-pro-starter |\n| [uview-pro-demo](https://github.com/anyup/uView-Pro) | 基于 uView Pro 的完整组件演示模板 | uview-pro-demo |\n| [unisave](https://github.com/sunpm/unisave) | 拥抱 web 开发，拯救 uniapp。适配所有 (app、mp、web) 平台 | unisave |\n| [tmui 3.2](https://tmui.design) | 优质 Vue3 TS Pinia Vite 跨端组件库 | tmui32 |\n\n#### 📦插件列表\n\n| 插件名 | 描述 | 参数名 |\n| :---: | :---: | :---: |\n| [vite-plugin-uni-components](https://github.com/uni-helper/vite-plugin-uni-components) | 按需自动引入组件 | import |\n| [vite-plugin-uni-pages](https://github.com/uni-helper/vite-plugin-uni-pages) | 提供基于文件系统的路由 | pages |\n| [vite-plugin-uni-layouts](https://github.com/uni-helper/vite-plugin-uni-layouts) | 提供类 nuxt 的 layouts 系统 | layouts |\n| [vite-plugin-uni-manifest](https://github.com/uni-helper/vite-plugin-uni-manifest) | 自动生成 manifest.json 文件 | manifest |\n| [vite-plugin-uni-platform](https://github.com/uni-helper/vite-plugin-uni-platform) | 基于文件名 (*.\u003ch5\\|mp-weixin\\|app\u003e.*) 的按平台编译插件 | filePlatform |\n| [uni-ku-root](https://github.com/uni-ku/root) | 模拟虚拟根组件 (支持 SFC 的 App.vue) | root |\n| [vite-plugin-component-placeholder](https://github.com/chouchouji/vite-plugin-component-placeholder) | 占位组件的原生实现 | componentPlaceholder |\n\n#### 📦模块列表\n\n| 模块名 | 描述 | 参数名 |\n| :---: | :---: | :---: |\n| [pinia](https://github.com/vuejs/pinia) | 符合直觉的 Vue.js 状态管理库 | pinia |\n| [unocss](https://github.com/antfu/unocss) | 即时按需的原子级 CSS 引擎 | unocss |\n| [vitest](https://github.com/uni-helper/vitest-environment-uniapp) | 基于 Vite 的测试框架 | vitest |\n| [uni-network](https://github.com/uni-helper/uni-network) | 为 uni-app 打造的基于 Promise 的网络请求库 | uniNetwork |\n| [uni-use](https://github.com/uni-helper/uni-use) | uni-app 组合式工具集 | uniUse |\n| [uni-promises](https://github.com/uni-helper/uni-promises) | 为 uni-app 提供的 Promise 包装器 | uniPromises |\n| [uni-echarts](https://uni-echarts.xiaohe.ink) | 适用于 uni-app 的 Apache ECharts 组件 | uniEcharts |\n| [z-paging](https://github.com/SmileZXLee/uni-z-paging) | 高性能、全平台兼容的 uni-app 分页组件 | zPaging |\n\n#### 📦组件列表\n\n| 组件名 | 描述 | 参数名 |\n| :---: | :---: | :---: |\n| [uni-ui](https://uniapp.dcloud.net.cn/component/uniui/uni-ui.html) | UniApp 官方组件库 | uni |\n| [wot-ui](https://wot-ui.cn/) | 高颜值、轻量化的 uni-app 组件库 | wot |\n| [TDesign](https://tdesign.tencent.com/uniapp/) | TDesign 组件库 uni-app 版 | tdesign |\n| [uView-Pro](https://uviewpro.cn/) | 全面支持 Vue3.0、TypeScript 的 uni-app 生态框架 | uview-pro |\n| [nutui-uniapp](https://uniapp-nutui.tech/) | 京东风格的轻量级移动端组件库 | nut |\n| [uv-ui](https://www.uvui.cn/components/intro.html) | 多平台快速开发的 UI 框架 | uv |\n| [ano-ui](https://ano-ui.netlify.app/) | 轻量级、漂亮、快速的 UnoCSS 组件库 | ano |\n\n## 🤝 参与贡献\n\n- 提交新功能\n- 反馈/解决[`issues`](https://github.com/uni-helper/create-uni/issues)\n- 提交新[`模板`](./packages/config/src/template.data.ts)/[`插件`](./packages/config/src/plugin.data.ts)/[`模块`](./packages/config/src/module.data.ts)/[`组件库`](./packages/config/src/ui.data.ts)\n\n## 🛠️ 开发\n- Node.js 版本 20+\n- Rust 版本 1.64+\n- 必须使用`pnpm`作为包管理工具\n- `Clone`此仓库\n- `pnpm i`安装依赖\n- `pnpm dev`运行\n- 可本地执行`pnpm create-uni`测试\n\n## 🌸 感谢\n\n项目灵感及部分代码来自 [create-vue](https://github.com/vuejs/create-vue)\n\n## 📄 License\n\n[MIT LICENSE](./LICENSE)\n\n## 🙇🏻‍♂️[赞助](https://afdian.com/a/flippedround)\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://afdian.com/a/flippedround\"\u003e\n    \u003cimg alt=\"sponsors\" src=\"https://cdn.jsdelivr.net/gh/FliPPeDround/sponsors/sponsorkit/sponsors.svg\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funi-helper%2Fcreate-uni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funi-helper%2Fcreate-uni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funi-helper%2Fcreate-uni/lists"}