mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Fixed no-ssr in storybook
This commit is contained in:
parent
e8f1c04ffe
commit
e4279c3694
@ -14,7 +14,9 @@ Vue.component('nuxt-link', {
|
|||||||
template: '<a href="#" @click.prevent="log()"><slot>NuxtLink</slot></a>',
|
template: '<a href="#" @click.prevent="log()"><slot>NuxtLink</slot></a>',
|
||||||
})
|
})
|
||||||
Vue.component('no-ssr', {
|
Vue.component('no-ssr', {
|
||||||
template: '<div><slot>No SSR</slot></div>',
|
render() {
|
||||||
|
return this.$slots.default
|
||||||
|
},
|
||||||
})
|
})
|
||||||
Vue.component('v-popover', {
|
Vue.component('v-popover', {
|
||||||
template: '<div><slot>Popover Content</slot></div>',
|
template: '<div><slot>Popover Content</slot></div>',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user