- Upgrade to Vue3
- Docker support
- Pinia how to work with router like Vuex:
// Vue2 + Vuex + Vue router
router.beforeEach((to, from, next) => {
store.dispatch("onLoading", true);
next();
});
router.afterEach((to, from) => {
store.dispatch("onLoading", false);
});
How to convert it use Pinia?(code source)
- 100% test coverage
- tidy style
- split one into many components
- mirror sites sync
- revise, supplement
tag_color
instatic/data.json
file
# install dependencies
pnpm install
# serve with hot reload at localhost:5173
pnpm serve
# build for production with minification
pnpm build
Docker:
docker-compose up -d
- static/data.json