[FR] Add 'store as global variable' to 'copy value' dropdown.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 279
- PR merge metrics
- No merged PRs in 30d
Description
Re-opening this issue from v6: https://github.com/vuejs/devtools-v6/issues/1094
Currently there's no way that I can see to fully inspect component data objects in the vue dev tools including their functions, "store as global variable" or "use in console" would be useful to this.
I'm referring to state which has functions rather than component methods, although that might be useful too to invoke arbitrarily
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start from the existing “copy value” dropdown in the Vue Devtools interface and trace how component state is exposed to the console. Add a “store as global variable” or equivalent “use in console” action that supports state objects containing functions, then verify that the selected value can be inspected from the browser console.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100