Closed albertpratomo closed 8 months ago
hi, i agree with you that developing popup/options pages without devtools is very painful.
using localStorage as fallback improves the situation, but doesn't fix it completely, we will lose access to the chrome
api in a localhost origin.
maybe we can use an external devtools like react-devtools, i'm not sure if there is a vue equivalent
Description
Use
localStorage
as fallback for the browser storage inuseStorageLocal
composable.This way, when previewing the app in localhost, the app won't crash.
Linked Issues
Fix #150
Additional context
Should we upgrade
tsconfig.json
compilerOptions.target
to"es2017"
? So we can use top-levelawait
.