Skip to content

docs: migration script from vuex #259

Open
@kj455

Description

@kj455

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions