index.js 222 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 import GLBcTest from './src/index.vue' // 为组件提供 install 安装方法,供按需引入 GLBcTest.install = function(Vue) { Vue.component(GLBcTest.name, GLBcTest) } // 默认导出组件 export default GLBcTest