tianheg / mirrors-china

列出中国镜像站点包含的开源软件(List the open source software included in China mirror sites)

Home Page:https://mirrors.tianheg.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mirrors China

TODO

  • 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 in static/data.json file

Setup

# 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

Data source

  • static/data.json

Acknowledgements

App level

Vue3 level

About

列出中国镜像站点包含的开源软件(List the open source software included in China mirror sites)

https://mirrors.tianheg.org


Languages

Language:Vue 43.7%Language:JavaScript 22.9%Language:CSS 14.5%Language:TypeScript 14.4%Language:HTML 2.3%Language:Dockerfile 2.2%