Logo

GitLab

Sign in

tutorial / web-tutorial

  • Back to Group
  • Project
  • Activity
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • web-tutorial
  • ..
  • common
  • index.js
  • xn-talk
    9b68c6b7
    zhaoxing authored
    2018-01-12 10:54:14 +0800  
    Browse Code ยป
index.js 285 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/**
 * Created by DEV005 on 2017/5/9.
 */
import xnMethod from './xnMethod';

const plugin = {
    install (Vue) {
        Vue.prototype.$xnMethod = xnMethod;
        Vue.xnMethod = xnMethod;
    },
    xnMethod:xnMethod
};
export default plugin
export const install = plugin.install;