nuxt syntaxerror unexpected token 7b threejs

Solutions on MaxInterview for nuxt syntaxerror unexpected token 7b threejs by the best coders in the world

showing results for - "nuxt syntaxerror unexpected token 7b threejs"
Tess
25 Jan 2021
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>