2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-22 10:30:34 +03:00

only render functional components in the client (#863)

This commit is contained in:
Jeff Sagal
2019-04-29 11:31:54 -07:00
committed by GitHub
parent 8c68718c84
commit 43cd6d34c3
+9 -4
View File
@@ -28,7 +28,9 @@ export default {
}; };
``` ```
<ClearButtonOverride /> <ClientOnly>
<ClearButtonOverride />
</ClientOnly>
The same approach applies for `multiple` selects: The same approach applies for `multiple` selects:
@@ -53,7 +55,9 @@ export default {
}; };
``` ```
<OpenIndicatorOverride /> <ClientOnly>
<OpenIndicatorOverride />
</ClientOnly>
## Setting Globally at Registration ## Setting Globally at Registration
@@ -78,6 +82,7 @@ vSelect.props.components.default = () => ({
Vue.component(vSelect) Vue.component(vSelect)
``` ```
<CustomComponentRegistration /> <ClientOnly>
<CustomComponentRegistration />
</ClientOnly>