Topic: I am unable to view any code in my body tag!

rockrude pro asked 5 years ago

I am unable to see any code in my body tag when I see page source in chrome? What is the possible solution to display code for SEO purpose!   I am using mdbootstrap for angular

Faisal Naveed pro commented 5 years ago

Dear rockrude, give some more detail of your problem so I can help you better.

rockrude pro commented 5 years ago

basically, i am focused on SEO. And I am unable to see any code when I perform view page source in Chrome. Any Solution to optimize SPA for SEO?

Damian Gemza staff commented 5 years ago

Dear rockrude, Unfortunately, that's a way which Angular works. He is based on modules. In page source you won't see code from modules, only code from main index.html file. If you need to inspect some elements, please use inspect option in your browser. We'll trying to be fully compatible with Angular Universal. This would be a great solution for SEO problems in Angular applications. Best Regards, Damian

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No