-
Notifications
You must be signed in to change notification settings - Fork 6
Vue Mixins
Jang Haemin edited this page Aug 23, 2019
·
1 revision
This is a Vue mixin which all page components should extend.
Older
import EodiroPageBase from '~/components/global/EodiroPageBase.vue'
export default {
extends: EodiroPageBase
}
Newer
import pageBase from '~/mixins/page-base'
export default {
mixins: [pageBase]
}
It provides common functionalities across pages.
For now, it
- Saves and restores scroll position when the page is deactivated or activated.
Copyright ©️ 2019 PAYW.org | Contact
Documentation
Components