init project

This commit is contained in:
wangwenzhang
2020-04-03 16:34:17 +08:00
parent bedc021581
commit c01cde6c20
11 changed files with 7245 additions and 2 deletions

15
src/main.js Normal file
View File

@@ -0,0 +1,15 @@
import HocElAffix from './components/ScrollAffix'
const install = function (Vue, opts = {}) {
Vue.component('HocElAffix', HocElAffix)
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
export default {
version: '0.0.1',
install,
HocElAffix
}