V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
justin2018
V2EX  ›  分享发现

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

  •  
  •   justin2018 · 174 天前 · 835 次点击
    这是一个创建于 174 天前的主题,其中的信息可能已经有所发展或是发生改变。

    ⚡ 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


    2 条回复    2023-11-05 15:26:17 +08:00
    molvqingtai
        1
    molvqingtai  
       174 天前 via Android
    提了个 feature ,作者当天就实现发版,赞👍
    justin2018
        2
    justin2018  
    OP
       174 天前
    @molvqingtai

    是的

    作者更新很快 看到其他开发者提的 bug 和 feature 都很快解决了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1071 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.