nuxt client-only component

JavaScript
<template>
  <div>
  	<client-only>
  		<apexchart />
  	</client-only>
  </div>
</template>
export default {
    componennts: {
    apexchart: () => (process.client ?
                      import('vue-apexcharts')
                      : Promise.resolve({ render: (h) => h('div') })),
    }
}
Source

Also in JavaScript: