1.0.3 β’ Published 3 years ago
react-typescript-chromium-extension-boilerplate v1.0.3
Chrominum Extension Boilerplate
Npm
https://www.npmjs.com/package/react-typescript-chromium-extension-boilerplate
Features
- Boilerplate for React + Typescript + Chromium-extension
- Install React without CRA
- Custom setting Webpack, Babel, Eslint
Install
git clone https://github.com/dooking/react-typescript-chromium-extension-boilerplate.git
npm install
Structure
π react-typescript-chromium-extension-boilerplate
βββ π public
|ββ βββ background.js // Browser event handler
|ββ βββ index.html // Root html
|ββ βββ index.css // Root css
|ββ βββ mainfest.json // Extension setting file
|ββ βββ options.html // Option Component
β βββ options.js // Option Script
βββ π src
βββ App.tsx // Component
βββ index.tsx // Webpack entry point
How to use
1. npm run build
2. chrome://extensions
3. 1) Click on Developer Mode 'ON'
4. 2) Upload Dist folder
Quote
β Show your support
Please βοΈ this repository if this project helped you!