DEV Community

Discussion on: Use Laravel charts in Laravel.

Collapse
 
dgloriaweb profile image
dgloriaweb

Hi, I have laravel 6.5 and there is no app.blade.php or layouts.app, can you please include what do you need from there since it is removed from latest versions? Using your code, without the layouts.app I see an ellipse (...) only and an error in the console:

Uncaught TypeError: Cannot read property 'getContext' of null
    at users:11

var ctvChart = document.getElementById('tuownvcasfgpremkbzdxyliqh').getContext('2d');

Thank you.

Collapse
 
arielmejiadev profile image
Ariel Mejia

Hi to add the auth scaffold with layouts and all blade files included and authentication feature, you need to add another composer package because the artisan command:

make:auth

Is not available anymore, I published a post with different ways to get this scaffold again, is very easy, you can see the post here