-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Resolve: Opening index.html over file:// won't work. #521
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
Comments
Imagine that you're using history mode, and So my suggestion is always using absolute path in publicPath |
To be able to use this with cordova, you have to be able to use relative paths, because 1) it uses file:// 2) the root is unpredictable. I agree with @guilhermefelipesilva that this should be fixed. |
@asselin you can always change it in the config file, that's why it exists. |
Looking further, this is a dup of #200 |
Inside the file config/index.js altere o
assetsPublicPath: '/'
paraassetsPublicPath: './'
in build objectThe text was updated successfully, but these errors were encountered: