Skip to content

脚手架

通过本章节你可以了解如何使用 create-uni 脚手架快速创建集成了 Wot UIuni-app 项目。

create-uni

我们推荐使用 create-uni 创建项目,它支持一键创建集成 Wot UI 的基础项目。使用以下命令:

bash
pnpm create uni <你的项目名> --ts -m pinia -u wot -e

将会完成以下工作:

  • 创建一个 TypeScript 项目
  • 集成 Pinia 状态管理
  • 自动配置 WotUI 组件库
  • 添加 ESLint 支持

更多信息请参见 create-uni

下一步

如果你希望直接从现成项目模板开始,可以继续查看 模板

Released under the MIT License.

Released under the MIT License.