Package Exports
- cra-template-chrome-extension-react
- cra-template-chrome-extension-react/template.json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cra-template-chrome-extension-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cra-template-chrome-extension-react
This is a template for Create React App to develop chrome extensions.
To use this template, add --template chrome-extension-react
when creating a new app.
For example:
npx create-react-app new-app-name --template chrome-extension-react
About this package
- Create a typescript project for developing chrome extensions.
How to create ready-to-publish extensions
- Run 'npm install' to install required dependencies
- Run 'npm run build' to build the package. By default, the output will be in the 'dist' folder.
- Zip the 'dist' folder and upload them to Google Chrome Developer Portal/Dashboard
For more information, please refer to:
- Getting Started – How to create a new React app.
- Getting Started – How to create a Chrome extension.