Go to file
奇趣保罗 99d63d4912 Add productId data for toy, and fix submit form issues 2024-06-23 01:35:47 +08:00
.github/workflows Created a new Plasmo extension 2023-08-23 15:30:20 +08:00
.vscode Add Paul's Toolbox Contents 2024-03-01 18:33:29 +08:00
assets Update checkbox switch styles 2024-04-25 11:48:06 +08:00
background Add say form submit & popup entry 2024-04-24 14:17:42 +08:00
components Add productId data for toy, and fix submit form issues 2024-06-23 01:35:47 +08:00
contents Add productId data for toy, and fix submit form issues 2024-06-23 01:35:47 +08:00
hooks Update useForm hooks supports input type checkbox 2024-04-25 11:32:52 +08:00
options Add InputHidden Component 2024-03-22 16:15:06 +08:00
popup Add say form submit & popup entry 2024-04-24 14:17:42 +08:00
sidepanel Add say form submit & popup entry 2024-04-24 14:17:42 +08:00
types Insert SyncButton on bilibili bangumi detail page to update progress 2024-04-21 23:34:23 +08:00
utils Insert SyncButton on bilibili bangumi detail page to update progress 2024-04-21 23:34:23 +08:00
.gitignore Created a new Plasmo extension 2023-08-23 15:30:20 +08:00
.prettierrc.mjs Created a new Plasmo extension 2023-08-23 15:30:20 +08:00
README.md Created a new Plasmo extension 2023-08-23 15:30:20 +08:00
package.json Inject bilibili bangumi detail page to get progress 2024-04-18 01:44:48 +08:00
pnpm-lock.yaml Update deps 2024-04-12 14:10:07 +08:00
tsconfig.json Created a new Plasmo extension 2023-08-23 15:30:20 +08:00

README.md

This is a Plasmo extension project bootstrapped with plasmo init.

Getting Started

First, run the development server:

pnpm dev
# or
npm run dev

Open your browser and load the appropriate development build. For example, if you are developing for the chrome browser, using manifest v3, use: build/chrome-mv3-dev.

You can start editing the popup by modifying popup.tsx. It should auto-update as you make changes. To add an options page, simply add a options.tsx file to the root of the project, with a react component default exported. Likewise to add a content page, add a content.ts file to the root of the project, importing some module and do some logic, then reload the extension on your browser.

For further guidance, visit our Documentation

Making production build

Run the following:

pnpm build
# or
npm run build

This should create a production bundle for your extension, ready to be zipped and published to the stores.

Submit to the webstores

The easiest way to deploy your Plasmo extension is to use the built-in bpp GitHub action. Prior to using this action however, make sure to build your extension and upload the first version to the store to establish the basic credentials. Then, simply follow this setup instruction and you should be on your way for automated submission!