3 ms·
> You can have Phoenix serve API endpoints and not include the phoenix html template package in your mix files. Incidentally, that's what I did for the project
by schneidmaster 7y ago
> You can have Phoenix serve API endpoints and not include the phoenix html template package in your mix files.
Incidentally, that's what I did for the project in the blog post. If you bootstrap with `mix phx.new --no-html --no-webpack` then you get a leaner version of Phoenix that's good for an API, without the HTML and frontend asset parts.
- anthony_doan 7y agoOh wow I didn't even know there's a command for it. Thanks.