I use Buffalo for an API and Vue.js with TypeScript as a frontend.
Cool. How do you serve your frontend app? Do you do it via Buffalo or nodejs?
Here is what the inside of the portion of a component may look like: <a href="https://gist.github.com/howdoicomputer/cdadba6e47021ba90b7f753ff72772dd" rel="nofollow">https://gist.github.com/howdoicomputer/cdadba6e47021ba90b7f7...</a><p>And here is the code for adding cors to Buffalo: <a href="https://gist.github.com/howdoicomputer/17366df6cd7b8208a22a879111be9784" rel="nofollow">https://gist.github.com/howdoicomputer/17366df6cd7b8208a22a8...</a> I got that from a PR for pre-app handlers. [2]<p>Eventually, I'll hook everything up to Nginx for deployment.<p>[0] <a href="https://github.com/axios/axios" rel="nofollow"<span class="bg-orange-200 rounded px-1">https://github.com/axios/axios</span></a> [1] <a href="https://github.com/rs/cors" rel="nofollow">https://github.com/rs/cors</a> [2] <a href="https://github.com/gobuffalo/buffalo/issues/609" rel="nofollow">https://github.com/gobuffalo/buffalo/issues/609</a>