DEV Community

Discussion on: How can i use vue spa in a codeigniter view layer.

Collapse
 
perttisoomann profile image
Pert Soomann

If someone else is providing the back end data APIs for you, you can almost treat view as single HTML file, so I guess you need a single controller on domain root URL that loads in that single view file, links to relevant JS/CSS files with HTML-tags and you should have single page app running.

Collapse
 
coolchirutha profile image
Mouni Nischal

Could you elaborate please. I have a project coming up where I need to convert a page from html,css and codeigniter to vue and codeigniter. Any tutorials will be appreciated.