Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build #5

Open
fendipratama opened this issue Nov 18, 2022 · 1 comment
Open

How to build #5

fendipratama opened this issue Nov 18, 2022 · 1 comment

Comments

@fendipratama
Copy link

i've been read your tutorial at https://medium.com/bb-tutorials-and-thoughts/how-to-make-api-calls-in-vue-js-applications-43e017d4dc86
that's a such good tutorial and i can understand, may I ask a question?
how to build the whole project? if I build vue, then vue will hit localhost/api/users and that will not found

any answer will be appreciate, thanks a lot

@programmeremmanuel586
Copy link

programmeremmanuel586 commented Dec 9, 2022

Hello fendipratama!

To answer your question, you need to run your Vue app and your server in parallel. In other words, you should have two terminals, each running either your server or your Vue app.

It's been a while since you've asked, but I hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants