[BUG] sidePanel example not working
What happened?
Both following the sidePanel example and downloading the example result in a non-functional system. The project might be incomplete but as I'm just learning to work with plasmo, there is no way to figure out what is wrong.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
- [ ] I would like to fix this BUG via a PR
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate problems.
+1
+1
+1
Adding a background.ts file to the main folder with the following content should do the trick:
chrome.runtime.onInstalled.addListener(() => {
chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true });
});
Adding a background.ts file to the main folder with the following content should do the trick:
chrome.runtime.onInstalled.addListener(() => { chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true }); });
+1
Hi @NoureddinBakir. Please provide the error you are receiving. Otherwise it's difficult to understand the issue you're experiencing.