All threads / how do i mount a full Vue template into my rails app
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

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

Join the discussion

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

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

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

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.