0.1.12 • Published 8 years ago

vue-router-gray v0.1.12

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

vue-router-gray

基于vue-router的灰度发布策略

使用

import vueRouterGray from 'vue-router-gray';
const router = new VueRouter({});
vueRouterGray(router, {
  check(params) {
    /*{
      protocol: location.protocol,
      host: location.host,
      path: location.pathname,
      search: location.search,
      hash: location.hash,
    }*/
    return new Promise((done) => {
      setTimeout(() => done({
        grayUrl: 'https://xxxx.com/gray/xxx'
      }), 400);
    });
  },
});
0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago