Skip to content

Lite Version

To facilitate developers in secondary development, the v2.5.2 version introduces a one-click cleanup script that can quickly remove demo pages, Mock data, multi-language files, and other development example content from the project, giving you a clean project foundation.

Feature Description

The cleanup script will automatically remove the following content:

  • 🗑️ Demo pages and components
  • 📊 Mock data files
  • 🌐 Route multi-language data
  • 📝 Development example code
  • 🎨 Demo-related style files

Usage

Execute the following command in the project root directory:

bash
pnpm clean:dev

The execution effect is as follows:

Enter yes to start the cleanup operation

Cleanup Script

After cleanup is complete, you can choose to delete the cleanup script to keep the project tidy:

  1. Delete the script file: scripts/clean-dev.ts
  2. Delete the script command in package.json: "clean:dev": "tsx scripts/clean-dev.ts"

This completely removes the cleanup-related code, making the project cleaner.

Important Reminder

The cleanup operation is irreversible. It is recommended to commit or backup the current project before execution!

Released under the MIT License