1<template>
2 <div>
3 <!-- wrap in client only -->
4 <client-only>
5 <threejs-component />
6 </client-only>
7 </div>
8</template>
9<script>
10export default {
11 //Dynamic load (dont load as an import above this)
12 components: {
13 ThreejsComponent: process.browser ? () => import('~/path/to/ThreejsComponent.vue') : null
14 }
15}
16</script>