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

bug: app.js is 404 #1238

Closed
1 task done
BuptStEve opened this issue Jan 28, 2019 · 3 comments
Closed
1 task done

bug: app.js is 404 #1238

BuptStEve opened this issue Jan 28, 2019 · 3 comments

Comments

@BuptStEve
Copy link
Contributor

BuptStEve commented Jan 28, 2019

  • I confirm that this is a issue rather than a question.

Bug report

  • app.js is 404
    image

  • because of this
    image

  • actually real path is http://localhost:8080/tua-ui/assets/js/app.js
    image

Version

1.0.0-alpha.33

Steps to reproduce

  1. set base to some string, like base: '/tua-ui/',
  2. run vuepress dev docs
  3. throw error app.js is 404
  4. if i set base to /, it works fine...

What is expected?

no error

@BuptStEve
Copy link
Contributor Author

@ulivz
if i change this to .publicPath(publicPath), fix 404

.publicPath(isProd ? publicPath : '/')

however, assets in .vuepress/public are 404

image

because real paths are

it's weried, publicPath not working...

@BuptStEve
Copy link
Contributor Author

@coder163
Copy link

期待官方解决

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