init project
This commit is contained in:
15
src/main.js
Normal file
15
src/main.js
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user