VueJS within Phoenix API

What are the things to consider in developing a phoenix api with a VueJS client in its public folder?

1 Like

Nothing special, I have done it for other frontend frameworks…

The only thing is You do not really have a route to public in case of a json Api.

And You don’t have templates available if You use --no-html when You create your project, but You can do without if You need to.

1 Like

Biggest thing: I prefer to keep the projects separate for dev, and use the respective tools. Then build the vue release and copy into phoenix priv.