gehrig.
gehrig.
PD🧩 Plasmo Developers
Created by gehrig. on 8/24/2023 in #🔰newbie
How to use plasmo with a side panel?
Odd. This what you're looking for? I did check and the sidepanel.html is being auto generated and referencing the right js file, too. This was with chrome.
{"icons":{"16":"icon16.plasmo.9f44d99c.png","32":"icon32.plasmo.83dbbbab.png","48":"icon48.plasmo.a78c509e.png","64":"icon64.plasmo.15206795.png","128":"icon128.plasmo.c11f39af.png"},"manifest_version":3,"action":{"default_icon":{"16":"icon16.plasmo.9f44d99c.png","32":"icon32.plasmo.83dbbbab.png","48":"icon48.plasmo.a78c509e.png","64":"icon64.plasmo.15206795.png","128":"icon128.plasmo.c11f39af.png"}},"version":"0.0.1","author":"Plasmo Corp. <foss@plasmo.com>","name":"DEV | Deckhand sidepanel","description":"Using side-panel API in an extension","side_panel":{"default_path":"sidepanel.html"},"permissions":["sidePanel"],"host_permissions":["https://*/*"],"background":{"service_worker":"plasmo-default-background.e198ef58.js"},"content_security_policy":{"extension_pages":"script-src 'self' http://localhost;object-src 'self';"},"web_accessible_resources":[{"matches":["<all_urls>"],"resources":["__plasmo_hmr_proxy__"]}]}
{"icons":{"16":"icon16.plasmo.9f44d99c.png","32":"icon32.plasmo.83dbbbab.png","48":"icon48.plasmo.a78c509e.png","64":"icon64.plasmo.15206795.png","128":"icon128.plasmo.c11f39af.png"},"manifest_version":3,"action":{"default_icon":{"16":"icon16.plasmo.9f44d99c.png","32":"icon32.plasmo.83dbbbab.png","48":"icon48.plasmo.a78c509e.png","64":"icon64.plasmo.15206795.png","128":"icon128.plasmo.c11f39af.png"}},"version":"0.0.1","author":"Plasmo Corp. <foss@plasmo.com>","name":"DEV | Deckhand sidepanel","description":"Using side-panel API in an extension","side_panel":{"default_path":"sidepanel.html"},"permissions":["sidePanel"],"host_permissions":["https://*/*"],"background":{"service_worker":"plasmo-default-background.e198ef58.js"},"content_security_policy":{"extension_pages":"script-src 'self' http://localhost;object-src 'self';"},"web_accessible_resources":[{"matches":["<all_urls>"],"resources":["__plasmo_hmr_proxy__"]}]}
12 replies
PD🧩 Plasmo Developers
Created by gehrig. on 8/24/2023 in #🔰newbie
How to use plasmo with a side panel?
To add this was trying to manually achieve this off of using create plasmo and using pnpm create plasmo --with-sidepanel. For each when clicking the extension's icon I expect the side panel to open up and display sidepanel.tsx, but nothing happens. No errors are displayed with --verbose.
12 replies