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

・1 min read

I am more conversant with laravel and vue but i am stuck in a project that will be making use of codeigniter. My role in the project is in the frontend and i wish to know how i can integrate vue spa in codeigniter's view

Did you find this post useful? Show some love!

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.

Classic DEV Post from Nov 14 '18

Are we Developers helping Google to build an unstoppable monopoly?

Google was awesome because of the fact that it provides us with great tools for free. But we have paid a huge cost for that.

Sylvester Nkeze
I am a simple man. I see Coldplay, Game of Thrones or Beautiful UI, I click
Sign up (free forever) is where software developers stay in the loop and avoid career stagnation.