Ed Tewiah

Joined

70 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Vue JS server side rendering with rails webpacker

Yaaay, there is a rails adapter for inertia.js now:

https://github.com/inertiajs/inertia-rails

Will give that a go.

Posted in Vue JS server side rendering with rails webpacker

Thanks for the reply Andrew. I decided in the end that pre-rendering might be best so I'm going to investigate using this:

https://github.com/chrisvfritz/prerender-spa-plugin

Not entirely sure if I can get it to work with Rails and webpacker but I'll give it a go anyway.

I'm trying to figure out a solution for server side rendering of a vue js app using rails and webpacker. This article comes out top in a google search but is pretty much useless:

https://medium.com/tekton-labs/getting-started-with-rails-vue-server-side-rendering-33af435ac763

Except it mentions that there is a go rails episode about it. Anyone know which episode this is?

Would also be happy with a solution to pre-render with rails and webpacker.

Thanks

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.