[Updated] New Next.js Chrome Extension Starter, Demo Example by y17godara.
Visit the repository: next-chrome-extension-starter
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.
- 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.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/y17godara/next-chrome-extension-starter.git cd next-chrome-extension-starter
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The project will be available at
http://localhost:3000
. -
Build the project:
npm run build
-
Export the static site (for Chrome extension packaging):
npm run prep