Skip to content

axxra/nextjs-firefox-extension-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

Next.Js + Material Joy UI

First, generate the static html output:

npm run build

or

yarn build

or

pnpm build

Once complete, we should see an /out directory. It contains the bundled version of our Next.js application as well as our manifest.json. Think of this directory as the source code of our extension.

We’ve now successfully prepared our Next.js application to be embedded within an extension! Our last step is to simply import it into the browser to test:

Firefox:

  • Navigate to: about:debugging#/runtime/this-firefox
  • Click the ‘Load Temporary Add-on…’ button.
  • Select your manifest.json file.

To check the static html out in browser:

npx serve@latest out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published