Git Product home page Git Product logo

sshyran / chrome-extension-boilerplate-react-typescript Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hieunc229/chrome-extension-boilerplate-react-typescript

0.0 1.0 0.0 18 KB

Chrome extension boilerplate (with React + TypeScript). Preconfigured with SASS, separated `public` directory, support multilingual

License: MIT License

JavaScript 21.76% TypeScript 48.92% HTML 2.26% SCSS 27.06%

chrome-extension-boilerplate-react-typescript's Introduction

Chrome Extension Boilerplate (with React + TypeScript)

Quickly build chrome extensions using TypeScript and React.

1. What's included

This repository is a fork of chrome-extension-react-typescript-boilerplate with some updates

  • React with Typescript
  • Sass + Sass module
  • Popup with basic layout (header, body, footer)
  • Multilingual public/_locales (see i18n)
  • public directory (will copy when building, so you don't need to touch the build directory)
  • content_scripts config (interact directly with current page's Document)

2. Building

Use yarn or npm

  1. Clone repo
  2. Install dependencies: yarn
  3. Build project for development: yarn dev to compile once (output will be in /build directory)
  4. Run project with watch: yarn watch to run the dev task in watch mode

Build for production

Run yarn build to build a production (minified) version. Output will be in /dist directory

3. 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

chrome-extension-boilerplate-react-typescript's People

Contributors

hieunc229 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.