I am currently integrating vue-highcharts
with moment.js
.
<template>
<highcharts :constructor-type="'stockChart'" :options="stockOptions" :updateArgs="[true, false]"></highcharts>
</template>
<script>
...
stockOptions: {
series: [{
data: ''
}],
plotOptions: {
series: {
turboThreshold: 0
}
},
chart: {
type: 'area'
},
time: {
timezone: 'America/Sao_paulo'
}
}
...
</script>
However, I encountered the following error:
Highcharts Error #25
Can't find Moment.js library
Using the global.timezone option requires the Moment.js library to be loaded.
What steps should I take to resolve this issue?