index.js 232 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 import xnNative from './nativeMethod'; const plugin = { install (Vue) { Vue.prototype.xnNative = xnNative; Vue.xnNative = xnNative; }, xnNative:xnNative }; export default plugin export const install = plugin.install;