2๐
I had the same issue.
The problem was from the defer loading of the app.js in the layout.
<script src="{{ asset('js/app.js') }}" defer></script>
It was loading after my and a Vue instanciation was created. I think this is why the chart was disappearing.
I hope it helps someone.
0๐
The solution which was working for me:
- Remove async and defer from app.js
<script async src="{{ asset('js/app.js') }}" defer></script>
Source:stackexchange.com