chartjs / chartjs/chartjs-plugin-datalabels

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

Open
#397 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
920
Forks
507
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.