I am a Dev
Explore posts from serversPD🧩 Plasmo Developers
•Created by I am a Dev on 9/19/2023 in #🔰newbie
There is a difference in the developer experience building the options page vs normal web with vite?
Hello, for now I want to develop an app in the options tab, the idea is to open it as if I were developing a web app with Vite.
There I will use, react-router, redux, etc, like a normal web app.
My question is if my development experience in that tab is the same as when developing a regular web app with vite, or does it have any limitations or differences that cause the app to restart, or lose state while developing.
Basically I'm just migrating a web app to the extension's options window, so I want to know if it's better to develop it in Vite as a web app, or is it the same DX with Plasmo.
Thanks
3 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/19/2023 in #👟framework
Can I use a plasmo project in monorepo with turborepo?
I want to share a lot of packages of my web and backend with the plasmo project using a monorepo like turborepo.
3 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/9/2023 in #👟framework
How to insert a file using chrome.scripting?
I am migrating this example from google tutorial
https://github.com/GoogleChrome/chrome-extensions-samples/blob/b6a3ac55011d725ba32d7446f124fca693c50c3d/functional-samples/tutorial.focus-mode/background.js#L40-L43
But I got this
3 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/9/2023 in #🔰newbie
What is the correct way use an image url from assets to show notification?
I use this:
but is possible somethin like this? or there is a better/clean way?
Thank you
2 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/9/2023 in #👾extension
which is a good/scalable folder structure for a big extension?
Hi, If I want to create an extension that has several content scripts that are very long (has many lines of code) and some content scripts share some functions or classes, the same for background.ts, how should I organize my folder structure to make it scalable and easy to work with?
2 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/8/2023 in #👾extension
Is there an extension repository that shows how the testing should be done?
Is there an extension repository that shows how the testing should be done? I want to see how the background and content scripts, popup, options, etc tests should be done.
Thank you
3 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/6/2023 in #👾extension
How can I put breakpoints in vs code to debug? Or if you can't, what is the correct way to debug?
Hello, how can I put breakpoints in vs code to debug? Or if you can't, what is the correct way to debug?
5 replies
PD🧩 Plasmo Developers
•Created by I am a Dev on 8/5/2023 in #👾extension
How to access the methods or variables of another third-party extension
hello, is there any way to access the methods or variables of another third-party extension (I suppose these are declared in its content script)?
I want to modify the behavior of a third party extension and it would be easier for me to access its variables or methods, and make small changes to it, or call methods from my extension,than scraping the HTML it adds to the web, or doing everything from scratch
Thanks
13 replies