No. With that setup Phoenix doesn’t serve any of the Vue app’s asset’s - it strictly functions as an independent JSON server.
I had a Vue example for Phoenix 1.3 using the app.html.eex
but the consensus seems to be to keep Phoenix/Vue separate so that using Nuxt.js remains an option.
For React there is elixir_react_render
Hey friends!
My company runs a single page app, and it is a hard requirement that we do isomorphic rendering for our front end.
Our back-end is implemented in Elixir. I was thinking it might be nice to cut out the middle man and use Elixir to isomorphically render our reactjs application on our elixir back-end.
Are there any libraries, conference talks, etc. you can point me to that could be helpful?
Thanks a bunch!
but there is nothing like that for Vue yet.
Some “Phoenix as a JSON API server” resources:
Harvested from:
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will assume that those on the forum understand why this is so.
Now assume that a team that needs to create a new REST API has heard about the performance and reliability characteristics of Elixir, and after a little research they come upon Phoenix as an implementation candidate.
Being new to Phoenix, where do they start their research on evaluating Phoenix as a candi…
3 Likes