Skip to content

Quest-Labs-INC/quest-react-chrome-extension-kit

Repository files navigation

Quest Chrome Extension Kit Starter Template

This template provides a starting point for creating a Chrome extension using React and TypeScript with Vite.

Getting Started

  1. Clone the Repository:

git clone https://github.com/Quest-Labs-INC/quest-react-chrome-extension-kit

  1. Install Dependencies:

cd quest-react-chrome-extension-kit npm install

  1. Development:
  • Start the development server:
    npm run dev
    
  • This will launch a development server using Vite, which will automatically reload the extension whenever you make changes to the source code.
  1. Building:
  • To build the extension for production, run:
    npm run build
    
  • This command will transpile the TypeScript code to JavaScript and bundle the extension using Vite.
  1. Testing the Extension:
  • Load the extension in Chrome:
    1. Open Chrome and go to chrome://extensions/.
    2. Enable "Developer mode" in the top right corner.
    3. Click on "Load unpacked" and select the dist directory in your project.
  1. Adding Functionality:
  • Edit src/background.ts to add background script functionality.
  • Update src/manifest.json to add permissions, content scripts, etc., as needed for your extension.
  1. Packaging:
  • To package the extension for distribution, run:
    npm run build-extension
    
  • This will create a dist directory with the necessary files for your extension.
  1. Customizing:
  • Update the manifest.json file in the src directory to customize your extension's name, description, version, etc.
  1. Publishing:
  1. Additional Resources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published