之前写了个 vue 的工具组件,只支持 1.0 版本。现在想升级支持 2.0 ,但是写法有很多不同,不能同时兼容俩版本。
那么现在怎么搞呢?
1. 建一个 repo xxxxx-for-vue2.0
2. 建一个分支 for-vue2.0
3. 建一个文件夹 require('xxxxx/vue2')
那么现在怎么搞呢?
1. 建一个 repo xxxxx-for-vue2.0
2. 建一个分支 for-vue2.0
3. 建一个文件夹 require('xxxxx/vue2')