1 Star 0 Fork 2

xhal / utools-plugin-template

forked from island / utools-plugin-template 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

utools-plugin-template

基于Vite+VueUtools插件开发模板,让您更快的开发出一款属于自己的Utools插件

✨ 特性

  • 🌈 开箱即用的Vite+Vue3Utools插件开发模板
  • ⚡ 开发环境自动注入HMR字段
  • 🦍 自动构建upx
  • 🧸 构建utools/preload文件,处理第三方依赖

🥩 开始使用

🔗 克隆项目

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

🔧 安装依赖

推荐使用pnpm包管理工具,如果您还没有安装可以执行npm install -g pnpm进行安装

pnpm install

🛫 启动项目

pnpm dev

📦 打包项目

pnpm build

执行build命令时,会将插件直接构建成upx包,开发者无需在utools开发者工具中二次构建 🚀

如何启动插件

utools中,打开utools开发者工具,并新建一个项目

根据您的实际情况,填写插件所需信息

20231110155724

执行dev指令,生成dist文件夹,将文件路径选中/dist/plugin.json

20231110155834

20231110155947

启动插件,并触发插件第一个关键字

20231110160045

20231110160101

20231110160121

开始你的开发之旅吧~

🍭 最后

如果您有更好的想法,欢迎提交issue或者pr 🥰🥰

如果您觉得这个项目对您有帮助,可以点击右上角的star按钮支持一下我,谢谢您~ 😘😘

MIT License Copyright (c) 2023 QC2168 <https://github.com/QC2168> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Easily create utools plugins 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/xhal/utools-plugin-template.git
git@gitee.com:xhal/utools-plugin-template.git
xhal
utools-plugin-template
utools-plugin-template
feat/app

搜索帮助

53164aa7 5694891 3bd8fe86 5694891