Skip to content

CLI

Through this chapter, you can learn how to use the create-uni CLI to quickly create a uni-app project integrated with Wot UI.

create-uni

We recommend using create-uni to create projects. It supports one-click creation of basic projects integrated with Wot UI. Use the following command:

bash
pnpm create uni <your-project-name> --ts -m pinia -u wot -e

Will complete the following work:

  • Create a TypeScript project
  • Integrate Pinia state management
  • Automatically configure WotUI component library
  • Add ESLint support

For more information, please see create-uni.

Next Steps

If you want to start directly from an existing project template, you can continue to view Templates.

Released under the MIT License.

Released under the MIT License.