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

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -