Vue Jump
Jump to Vuex store definitions from Vue components. Supports Vue 2.x with Vuex.
Features
- Jump to Vuex store module definitions from Vue components
- Support for mapState, mapGetters, mapMutations, and mapActions
- Support both array and object mapping syntax
- Works with namespaced modules
Usage
Place your cursor on any Vuex mapping and press F12 or right-click and select "Go to Definition":
// Array syntax
...mapState('moduleName', ['stateProperty'])
...mapGetters('moduleName', ['getterName'])
...mapMutations('moduleName', ['mutationName'])
...mapActions('moduleName', ['actionName'])
// Object syntax
...mapMutations('moduleName', {
newName: 'originalName'
})
Requirements
- Vue 2.x
- Vuex
- VS Code 1.60.0 or higher
Extension Settings
This extension has no settings.
Known Issues
None.
Release Notes
0.0.1
Initial release of Vue Jump
## License
MIT
| |