Using amCharts 5 with Nuxt 3

Follow the directions for installing Nuxt 3.

Then create a components/Chart.vue file which contains the Vue code from our Vue tutorial.

Lastly, you can use the Chart component like this:

<ClientOnly>
  <Chart />
</ClientOnly>