分享:不错的浏览器插件开发脚手架

查看 209|回复 0
作者:justin2018   
⚡ Next-gen Web Extension Framework
https://github.com/wxt-dev/wxt
Collection of essential libraries and tools for building web extensions
https://github.com/aklinker1/webext-core
为啥用 WXT ?
最开始用的是Plasmo,但是Plasmo遇到 ESM 的包就报错,后来在群里看到一个开发者安利WXT
用了一段时间,感觉不错,就没有换回来了
WXT 与 Plasmo 对比:
最后打❌的三个功能其实基本上实现了 详情见:
Storage
https://webext-core.aklinker1.io/guide/storage/typescript.html
Messaging
https://webext-core.aklinker1.io/guide/messaging/protocol-maps.html
Content Script UI
https://wxt.dev/entrypoints/content-scripts.html#ui


您需要登录后才可以回帖 登录 | 立即注册

返回顶部