-
Notifications
You must be signed in to change notification settings - Fork 17
ignoring <base> tag? #4
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
I got this to work by making the urls relative, which is what MDN says works. I don't know if that's the fix viewjs applied though. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base <!DOCTYPE html>
<html>
<head>
<base href="https://example.com/burrow/">
<meta charset=utf-8>
<title>Burrow Dashboard</title>
<meta http-equiv=x-ua-compatible content="ie=edge">
<meta name=renderer content=webkit>
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no">
<meta name=application-name content="Burrow Dashboard">
<meta http-equiv=Cache-Control content=no-siteapp>
<link rel="shortcut icon" type=image/x-icon href=/static/img/kafka-logo-1.png>
<link rel=stylesheet href="//fonts.googleapis.com/css?family=Roboto:400,500,700,400italic|Material+Icons">
<link href=static/css/app.d0f9c130914dc0f851f0c60e718ca7b4.css rel=stylesheet>
</head>
<body>
<div id=app></div>
<script type=text/javascript src=static/js/manifest.296f223cbb4b67230f1f.js></script>
<script type=text/javascript src=static/js/vendor.093715d1b81b77ebb601.js></script>
<script type=text/javascript src=static/js/app.9944140382bc3a6f27e6.js></script>
</body>
</html> |
cc @joway Are you still maintaining this project by chance? |
Hi , @adamdecaf , thanks for your report ! I think your problem is not vuejs's bug , i have some config in nginx.conf :
When you serve it on http://www.example.com/burrow , it will be have some abnormal behaviors . you can rewrite your own nginx.conf if you still want to serve at /burrow . |
@joway I'm not sure I follow. I want to serve other assets off |
@joway Would you be ok with a change to use relative paths?
|
can you fork the repo and try to change some code and rebuild the docker image , and try it ? @adamdecaf |
@joway Thanks for the merge. Would you mind making a release? |
@adamdecaf your can use |
Hi!
I'm trying to use this project and serve it on a
/burrow
path. This doesn't seem to quite work. I think the problem is in viewjs (see vuejs/vue-router#1426)It looks like this project uses
"vue": "^2.5.2",
code, which might be a bit too old.Is there any chance you could try upgrading viewjs?
The text was updated successfully, but these errors were encountered: