Special Folders: pages/

Opens a welcome page in a new tab when the extension loads.

Runs on Chrome, Edge, Firefox · Manifest V3 · Surfaces: background service worker · Styling: CSS · Level: beginner

Create this project

npx extension@latest create my-special-folders-pages --template special-folders-pages
cd my-special-folders-pages
npm install
npm run dev

What it is for

  • Onboarding, help, and welcome pages that ship with the extension
  • Standalone HTML routes without manifest plumbing
  • Reference for Extension.js's pages/ special folder convention

First steps

  • Run npm run dev to launch the extension
  • A welcome page from src/pages/ opens automatically on install
  • Add another HTML file under src/pages/ and it ships as a separate page

Permissions it asks for

This template requests no permissions.

extension.devDocumentation for extension.dev