Chartjs-Problem with script src for Chart.js. The CDN for Chart.js funtions fine, so my code is ok. Somehow I'm not linking the file correctly

0๐Ÿ‘

What gives? Where can I start looking to figure the problem.

The place to start looking is the rendered value for the script src attribute once it makes it to the browser. Not the uninterpolated expression that you have shared with us. If in fact you are interpolating the values of your expression. If it does not match the relative or absolute path that does work when you enter it manually then you have to look at how the expression is being interpolated and adjust your input from there.

The expression itself is not a valid src path.

Leave a comment