Welcome Guest, Not a member yet? Register   Sign In
routing vuejs with codeigniter project
#1

how to routing vuejs with codeigniter project?

how to write controller and route vuejs? i cant found example code for this case

thanks
Reply
#2

(10-15-2018, 07:25 AM)rizkyalviandra Wrote: how to routing vuejs with codeigniter project?

how to write controller and route vuejs? i cant found example code for this case

thanks

Do you mean the vue router?


$route['api/users/get_users'] = 'users/get_users';
$route['(.+)'] = 'main_controller';

In the main_controller load the vue html
Reply




Theme © iAndrew 2016 - Forum software by © MyBB