Melinda
PD🧩 Plasmo Developers
•Created by Melinda on 8/12/2024 in #👾extension
Chrome storage API vs Dexie.js (IndexedDB)
Anyone using Dexie or something similar instead of the Chrome storage API? Dexie is a wrapper around IndexedDB. I'm considering migrating to using Dexie from the Chrome storage API for a few reasons:
- Dexie has database versioning, making it easier to modify your data structures
- Dexie has the option to sync to the cloud
- Dexie makes it easier to perform queries/search
Potential downsides is that it requires more time and effort to implement.
6 replies
PD🧩 Plasmo Developers
•Created by Melinda on 3/23/2024 in #🔰newbie
How do I get Vue devtools to work?
I have not been successful in getting Vue devtools to work with Plasmo. I followed the instructions in the Vue devtools docs to use it as a dependency: https://devtools.vuejs.org/guide/installation.html#using-dependency-package
I had to add this to my package.json:
"manifest": {
"content_security_policy": {
"extension_pages": "script-src 'self' http://localhost:8098; object-src 'self'"
}
}
It seems to connect, but the electron version of the Vue devtools just keeps loading forever. Has anyone gotten this to work?
2 replies