javascript - fuelphp routes to angular routes -


i have routes , request handling mechanism written in fuelphp calculate template in server side.

computing templates on server side slower in understanding , covert routes angular routing.

most of fuelphp code outputs angularjs views.

is there direct or quicker way convert php routes angular routes.

try this: in public folder make .htaccess file , fill following

<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.html$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.html [l] </ifmodule> 

Comments

Popular posts from this blog

java - Checkbox item adds to spinner -

php - mySQL problems with this code? -

C# MVC AngularJS -