Skip to content

Latest commit

Β 

History

History
71 lines (42 loc) Β· 2.18 KB

File metadata and controls

71 lines (42 loc) Β· 2.18 KB

utools-plugin-template

A Vite+Vue template for Utools plugin development, allowing you to create your own Utools plugin more efficiently

✨ Features

  • 🌈 Out-of-the-box Vite+Vue3 template for Utools plugin development
  • ⚑ Automatically injects HMR field in the development environment
  • 🦍 Automatically build upx package
  • 🧸 Builds utools/preload file to handle third-party dependencies
  • πŸš€ Build desktop applications

πŸ₯© Getting Started

πŸ”— Clone project

git clone https://github.com/QC2168/utools-plugin-template.git

πŸ”§ Install dependencies

It is recommended to use the pnpm package management tool. If you have not installed it yet, you can execute npm install -g pnpm to install it

pnpm install

πŸ›« Run project

pnpm dev

πŸ“¦ Build project

pnpm build

When executing the build command, the plugin will be directly built into an upx package. Developers do not need to perform a secondary build in the utools developer tool πŸš€

How to start the plugin

In utools, open the Utools developer tool and create a new project

According to your actual situation, fill in the information required by the plugin

20231110155724

Execute the dev command to generate the dist folder and select the file path /dist/plugin.json

20231110155834

20231110155947

Start the plugin and trigger the first keyword of the plugin

20231110160045

20231110160101

20231110160121

Embark on your development journey~

🍭 Finally

If you have better ideas, please submit an issue or pr πŸ₯°πŸ₯°

If you find this project helpful, you can support me by clicking the 'star' button in the upper right corner. Thank you~ 😘😘.