We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3.0.0-beta.14 (and probably .11, and .12)
Adding a vue.config.js file with baseUrl: '.' or any other value than /
In index.html: <link as="script" href="{baseUrl value here?}/app.js" rel="preload">
<link as="script" href="{baseUrl value here?}/app.js" rel="preload">
In index.html: <link as="script" href="/app.js" rel="preload">
<link as="script" href="/app.js" rel="preload">
Worked fine in beta 10
The text was updated successfully, but these errors were encountered:
Edit: not sure sure it worked fine in beta 10 after all. Either way, I guess this shouldn't be /app.js anyway.
Sorry, something went wrong.
baseUrl is not expected to be used in development mode. There is a new option added recently called devBaseUrl, see https://github.com/vuejs/vue-cli/blob/dev/docs/config.md.
baseUrl
devBaseUrl
It's a little buggy at the moment, maybe you could take a look at #1405 .
Closed via #1405
No branches or pull requests
Version
3.0.0-beta.14 (and probably .11, and .12)
Steps to reproduce
Adding a vue.config.js file with baseUrl: '.' or any other value than /
What is expected?
In index.html:
<link as="script" href="{baseUrl value here?}/app.js" rel="preload">
What is actually happening?
In index.html:
<link as="script" href="/app.js" rel="preload">
Worked fine in beta 10
The text was updated successfully, but these errors were encountered: