Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: migration script from vuex #259

Open
kj455 opened this issue Jan 10, 2022 · 1 comment
Open

docs: migration script from vuex #259

kj455 opened this issue Jan 10, 2022 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@kj455
Copy link

kj455 commented Jan 10, 2022

I wrote a script which helps migrate to typed-vuex from vuex.

When I started using typed-vuex in an existing vue/nuxt project, I had to do some tedious work.

  • add import statement
  • replace getters with getterTree
  • replace mutation with mutationTree
  • replace action with actionTree

this script automate these dangling tasks using jscodeshift.

If this is acceptable, how should I contribute?
Would it better to describe it in the documentation?

@kj455 kj455 added the documentation Improvements or additions to documentation label Jan 10, 2022
@danielroe danielroe added the enhancement New feature or request label Feb 16, 2022
@danielroe
Copy link
Owner

danielroe commented Feb 16, 2022

Would love this! I'd be happy to expose a binary to do this - or simply document a possible option. PR very welcome 😊

(Happy to work with you on the PR if you push what you have.)

@danielroe danielroe removed their assignment Feb 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants