mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Enable conditional importing on search components
This commit is contained in:
parent
224731aead
commit
82176d8bc5
1 changed files with 4 additions and 4 deletions
|
|
@ -133,8 +133,8 @@ import scrollIntoView from 'scroll-into-view-if-needed'
|
|||
|
||||
// import appList from '~/app-list.json'
|
||||
|
||||
import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||
import RelativeTime from '~/components/relative-time.vue'
|
||||
// import EmailSubscribe from '~/components/email-subscribe.vue'
|
||||
// import RelativeTime from '~/components/relative-time.vue'
|
||||
|
||||
// import overlayStore from './mixins/store'
|
||||
// import modalRouter from '~/components/modals/mixins/router'
|
||||
|
|
@ -146,8 +146,8 @@ import RelativeTime from '~/components/relative-time.vue'
|
|||
|
||||
export default {
|
||||
components: {
|
||||
EmailSubscribe,
|
||||
RelativeTime
|
||||
EmailSubscribe: () => process.client ? import('~/components/email-subscribe.vue') : null,
|
||||
RelativeTime: () => process.client ? import('~/components/relative-time.vue') : null
|
||||
},
|
||||
props: {
|
||||
appList: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue