
建立專案
你會獲得什麼
純 ES modules 起點,不需編譯步驟。範本已串接好manifest.json、popup 與 content script 進入點,你可以直接執行 extension dev 並立刻開始迭代。
當你希望以最小化的設定起步,或打算之後再依需求逐步加入工具時,這是合適的選擇。
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🎉 Extension.js v3.0.0 is here — faster builds, Firefox MV3, and first-class TypeScript.
用 Extension.js CLI 建立 vanilla JavaScript 瀏覽器擴充功能,內含 manifest、popup 與 content script 的開箱即用設定。

npx extension@latest create my-extension --template=javascript
manifest.json、popup 與 content script 進入點,你可以直接執行 extension dev 並立刻開始迭代。
當你希望以最小化的設定起步,或打算之後再依需求逐步加入工具時,這是合適的選擇。
這個頁面有幫助嗎?
