chartjs / chartjs-plugin-datalabels

Chart.js plugin to display labels on data elements
https://chartjs-plugin-datalabels.netlify.app
MIT License
873 stars 473 forks source link

vite not insert page ref in manifest.json if I include chartjs-plugin-datalabels #397

Open aalonzi opened 12 months ago

aalonzi commented 12 months ago

I use chartJS with chartjs-plugin-datalabels on a laravel inertiajs app. When I am in DEV mode there are no errors and everything works normally, after carrying out the BUILD there is a page that produces a 500 error on page reload(cmd+R) but it works normally if I open the page from the link in the menu; this happens because the entry relating to the vue file of the page is missing in the manifest.json file. After some tests I realized that removing the import for the chartjs-plugin-datalabels plugin and the references in the graphs present on the page, the manifest.json file also correctly contains the reference to the vue page in question and everything starts to work correctly. Some idea?

anchan42 commented 4 months ago

I have exactly the same problem...