Efficiently using Highcharts in NuxtJS #73
Unanswered
sadeghi-aa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I want to use HighCharts in my NuxtJS 2 project. Currently I'm using the nuxt-highcharts package and I've included it in the modules section of nuxt.config.js
The issue is that HighCharts is a relatively big package and it's almost 20% of one of the entrypoint JS files (90KB out of 500KB)
Is there a way to only use HighCharts only in the components that is actually needed? We don't need it in the homepage.
Beta Was this translation helpful? Give feedback.
All reactions