A migration tool to translate vuex code into pinia code
git clone https://github.com/fdbiondi/vuex-pinia-migration-tool.git
make build
make install
# Required Vuex directory structure
src
└── store
└── module1
├── actions.ts
├── getters.ts
├── mutations.ts
├── state.ts
└── subModule
├── actions.ts
├── getters.ts
├── mutations.ts
└── state.ts
└── module2
├── actions.ts
├── getters.ts
├── mutations.ts
└── state.ts
vuex-to-pinia <options>
Migrate vuex code to pinia code
vuex-to-pinia migrate <from> <to>
Contributions, issues and feature requests are welcome! 👍
Feel free to
check open issues.
git clone https://github.com/fdbiondi/vuex-pinia-migration-tool.git
cd vuex-pinia-migration-tool
go get -d ./...
go run cmd/main.go
(c) 2023 MIT Licence