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

188 天前
 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


867 次点击
所在节点    分享发现
2 条回复
molvqingtai
188 天前
提了个 feature ,作者当天就实现发版,赞👍
justin2018
188 天前
@molvqingtai

是的

作者更新很快 看到其他开发者提的 bug 和 feature 都很快解决了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/988779

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX