-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Production mode refresh causing 404 #511
Comments
This issue is not webpack template. See the vie-router docs |
why its not working for me? @kazupon |
@jakubsikora Did you ever figure this out? I'm running into the same issue using V2 + Webpack2 + NginX... |
@JeremyGranger I moved it to my DO server and used pm2 + reverse proxy on nginx following https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04 and its working fine. |
Got it, thanks so much! You helped solve a very frustrating problem. Cheers!
Warmest Regards,
*Jeremy Granger*
*Software Engineer, Data Ductus, Inc.*
*Alumni, B.S.C.S. ‘15*
e: jeremy.granger@colorado.edu
c: 571.247.1432
On October 18, 2017 at 2:19:16 AM, Sikora Jakub (notifications@github.com) wrote:
@JeremyGranger <https://github.com/jeremygranger> I moved it to my DO
server and used pm2 + reverse proxy on nginx following
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04
and its working fine.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#511 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD_fQTRWfBaIdsd6aw8J6E9g98p99fJYks5stbSCgaJpZM4L-U7o>
.
|
i have the same issue when i try to serve the index file with live-server |
@kazupon Thanks you :) |
Hi, I had the same issue. I followed this link: https://gist.github.com/szarapka/05ba804dfd1c10ad47bf Mickael |
@kazupon Thanks =) |
I have a simple router setup
In dev mode is all working fine. When i run
npm run build
and generate static files in thedist
folder and then serv it let say using npmhttp-server
everytime I refresh from e.g.localhost:8080/foo
I'm getting 404.I noticed that issue when I was trying to config
gh-pages
which base url isusername.github.io/repo_name/
.Is there something I didn't setup properly?
The text was updated successfully, but these errors were encountered: