Set Up NextJS And Web-Ext

We'll use NextJS to render the extension UI.

  1. Create a new nextjs project.
    • npx create-next-app@latest
    • *Nextjs sets up a .git repo.
  2. How should I structure the codebase?
    1. next and extension code side by side?
    2. web-ext in /src/extension?
  3. How do I get webpack to work?
    1. How do I run nextjs in the extension in dev mode?
    2. How do I build a release?
    3. How do I write command line scripts?
  4. manifest.json
    1. Configure schemastore
      1. https://json.schemastore.org/web-manifest
Topics