模板功能
- 处理popup页面
- 处理background页面
- 处理content_scripts页面
- 集成react
- 集成antd
- 集成unocss
这个案例实现了一个简单的chrome插件。包含如下功能:
- 一个可拖拽悬浮球 [content_scripts]
- 一个基础录制功能 [content_scripts]
- shadow-dom的样式注入 [content_scripts]
- 一个基础popup页面 [popup]
pnpm dev
pnpm build
目前reload插件通过的是contextMenu来做的,暂时没有想到更好的办法。