How to use external libraries like chart.js which works only on browser. I need to import Chart from 'chart.js';
but this throws the error Chart is not defined.
I need this only in one page.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c407">#c407</a>)</em></sub></div>