Skip to content

y17godara/next-chrome-extension-starter

Repository files navigation

Next.js Chrome Extension Starter

visitors

[Updated] New Next.js Chrome Extension Starter, Demo Example by y17godara.
Visit the repository: next-chrome-extension-starter

Overview

This project is a starting point for developing Chrome extensions using Next.js. It includes pre-configured settings to get you up and running quickly with a Next.js application for your Chrome extension.

Features

  • Next.js & React: Build your extension using modern React components and hooks.
  • Chrome Extension: Easy setup for Chrome extension development.
  • CSS Modules: Scoped CSS for each component to avoid style conflicts.

Installation

To set up the project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/y17godara/next-chrome-extension-starter.git
    cd next-chrome-extension-starter
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run dev

    The project will be available at http://localhost:3000.

  4. Build the project:

    npm run build
  5. Export the static site (for Chrome extension packaging):

    npm run prep