-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
PublicPath in vue.config.js ignored #4160
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
// vue.config.js is not right
module.exports = { // <- should be module.exports
publicPath: '/ltx2/',
devServer: {
disableHostCheck: true
}
} |
omg.. Thanks a lot! Just for you to know, I wrote to the vue forum and to several chat rooms before I made it an issue at the vue-cli repository. |
|
Regardless of your
and also at this line:
(which, strangely, seems to be executed only in Firefox... added with MR: #5247) vue-cli maintainers, please provide a way to assign a custom |
Version
3.8.4
Reproduction link
https://github.com/Ronaldho80/vue-cli-issue
Environment info
Steps to reproduce
What is expected?
dist/index.html
s paths shall have '/ltx2/' as a prefix.What is actually happening?
There is no prefix in the pahts in index.html
The publicPath veriable is set in
vue.config.js
:module.export = {
publicPath: '/ltx2/',
devServer: {
disableHostCheck: true
}
}
The text was updated successfully, but these errors were encountered: