jadjoubran / laravel5-angular-material-starter

Get started with Laravel 5.3 and AngularJS (material)
https://laravel-angular.readme.io/
MIT License
1.66k stars 401 forks source link

SEO for angular? #475

Closed DennisOng closed 7 years ago

DennisOng commented 7 years ago

Been using this starter for a while now, would anybody have insights on how to get the site to be indexed by google?

I've tried the "fetch as google" option in google search console, but it's showing just the index.blade.php part, without any angular code being rendered. Is anyone facing this as well?

Thanks in advanced

0xGeegZ commented 7 years ago

Hi,

I can't help you on this purpose but i'm looking for a good way to index this kind of project :)

jadjoubran commented 7 years ago

Hi @DennisOng and @tchoule84
You will probably need to do "pre-rendering" I've never done it for AngularJS before but I know there's a service for that: prerender.io

DennisOng commented 7 years ago

Hi @jadjoubran thanks for that, just started trying out prerender.io, will see how it goes