-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
CDN Address not working in baseUrl #2380
Comments
i think it fix on the vue/cli-service 3.0.1 |
This is not fixed for now. And the commit 1195aee I think it is not the solution. The document here https://cli.vuejs.org/config/#baseurl about I tried to hack into Do we really do not need |
new Router({ set the 'base' to '/' |
@rushairer Thanks bro you remind me that the Maybe the template project with router could be improved to prevent such problems, or the documention could cover this situation. Still I think it is necessary to discriminate |
@aprilandjan |
Version
3.0.1
Reproduction link
https://github.com/yangmingshan/vue-cli-issue
Node and OS info
Node: 10.9.0 / npm 6.4.0 / MacOS 10.13.6
Steps to reproduce
baseUrl
invue.config.js
to a CDN url.npm run serve
http://localhost:8080/https://my.cdn.com/
What is expected?
URL should be set to
https://my.cdn.com/
What is actually happening?
Url is set to
http://localhost:8080/https://my.cdn.com/
This issue #1545 was fixed with commit 1195aee. In the later commit 1e7fa2c the fix got removed.
The text was updated successfully, but these errors were encountered: