Support the ongoing development of Laravel.io →
Requests Views Blade
Last updated 2 years ago.
0

Just use direct route and include your angular index.html file.

Last updated 8 years ago.
0

I figured it out all night till I find the solution was that the file suppose to change to index.php and put in there like @include(index)

also I have tried direct route and put in there View::make(index.html); the index.html was in the public/index.html folder and it failed.

Can be put any of AngularJs file in the public folder when it necessary? Does the extension have to change from .html to .php?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.