Ask A Question

Notifications

You’re not receiving notifications from this thread.

how do i mount a full Vue template into my rails app

oomis asked in Rails

I'm preparing for a hackaton and my teammate built a Vue app for the frontend.
I've installed rails and vue webpack, and Vue is working well.

But I don't know how to incorporate the Vue frontend made by my teammate because I dont know where to put her files inside the rails application and make it work for me to view it.

This is the repo of the Vue application: https://github.com/anesii/hackathon-project

Reply

umm that seems like a separate app. which means you would have to use rails as api and have the vue app call those rails api

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,563+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.