0.1.12 • Published 7 years ago

vue-router-gray v0.1.12

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago