ZOYKU火線榜

martellaj/chrome-extension-react-typescript-boilerplate技術文件

A boilerplate project to quickly build a Chrome extension using TypeScript and React (built using webpack).

目錄大綱 (TOC) (2 章節)▾
多語言回退提示:當前倉庫原作者暫未發布在地化文件,已為您無縫切換至官方英文原版(English),排版及程式碼實例完整保真。
npm i chrome-extension-react-typescript-boilerplate

Chrome Extension (built with TypeScript + React)

This project is a boilerplate project to allow you to quickly build chrome extensions using TypeScript and React.

Building

  1. Clone repo
  2. npm i
  3. npm run dev to compile once or npm run watch to run the dev task in watch mode
  4. npm run build to build a production (minified) version

Installation

  1. Complete the steps to build the project above
  2. Go to chrome://extensions in Google Chrome
  3. With the developer mode checkbox ticked, click Load unpacked extension... and select the dist folder from this repo
文件鏡像歸檔自 GitHub 官方源路徑 · 造訪原專案 GitHub
最後同步快照:2026-11-09