vue3-apexcharts
vue3-apexcharts copied to clipboard
Switching a route within an event handler causes error
Switching a route inside an apexchart event callback causes an error in the console.
(I've been using the solution suggested in #20 to bind the event)
<apexchart
...
@markerClick="click"
></apexchart>
const click = () => {
router.push('/data');
};
Complete code and example: https://stackblitz.com/edit/vue3-apex-router-bug?devtoolsheight=33&file=index.html