vuejs / devtools-next

The next iteration of Vue DevTools
https://devtools-next.vuejs.org/
MIT License
1.19k stars 83 forks source link

Can the devtools settings export the data saved under the.local? #496

Open eachann1024 opened 1 week ago

eachann1024 commented 1 week ago

In the business scenario, logging out will clear the localstorage, resulting in the settings needing to be reset again.

In the development scenario, debugging often also clears the localstorage.

If the settings can be exported to a.local file, there will be no these problems.

eachann1024 commented 6 days ago

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

alexzhang1030 commented 6 days ago

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

We have browser extension & electron app, so I am trying to make this feature more general instead of just serving on the vite-plugin.

eachann1024 commented 6 days ago

@alexzhang1030 This should not be the same requirement. JSON also needs to be imported. If .local is supported, the settings can be automatically read every time you enter.

We have browser extension & electron app, so I am trying to make this feature more general instead of just serving on the vite-plugin.

Haha, I just found out that there are actually extensions, that's great! And I hope there is an option for json import settings haha!