we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "nuxt client only component"
Louanne
24 Jan 2019
1<template>
2  <div>
3  	<client-only>
4  		<apexchart />
5  	</client-only>
6  </div>
7</template>
8export default {
9    componennts: {
10    apexchart: () => (process.client ?
11                      import('vue-apexcharts')
12                      : Promise.resolve({ render: (h) => h('div') })),
13    }
14}