Skip to content
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

Invalid location of Base tag #4846

Closed
serega270 opened this issue Aug 8, 2019 · 6 comments

Comments

@serega270
Copy link

commented Aug 8, 2019

I config the quasar.conf.js, as below:

build: {
      scopeHoisting: true,
      vueRouterMode: 'history',
      publicPath: '/ ,
      gzip: true,
      ...
}

it seems that the base tag should be declared before other links

<!DOCTYPE html>
<html>
<head><title>Quasar App</title>
  <meta charset=utf-8>
  <meta name=description content="A Quasar Framework app">
  <meta name=format-detection content="telephone=no">
  <meta name=msapplication-tap-highlight content=no>
  <meta name=viewport content="user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1,width=device-width">

<!-- Correct place for <base href="/" > -->

  <link rel=icon type=image/png href=statics/app-logo-128x128.png>
  <link rel=icon type=image/png sizes=16x16 href=statics/icons/favicon-16x16.png>
  <link rel=icon type=image/png sizes=32x32 href=statics/icons/favicon-32x32.png>
  <link rel=icon type=image/png sizes=96x96 href=statics/icons/favicon-96x96.png>
  <link rel=icon type=image/ico href=statics/icons/favicon.ico>
  <link href=/js/2d22c0ff.868145e9.js rel=prefetch>
  <link href=/js/461a5054.17d4a942.js rel=prefetch>
  <link href=/js/4b47640d.65105906.js rel=prefetch>
  <link href=/css/app.de49d83c.css rel=preload as=style>
  <link href=/js/app.995a58e1.js rel=preload as=script>
  <link href=/js/runtime.514e2f10.js rel=preload as=script>
  <link href=/js/vendor.ad270399.js rel=preload as=script>
  <link href=/css/app.de49d83c.css rel=stylesheet>
  <base href=/>
</head>
<body>
<div id=q-app></div>
<script type=text/javascript src=/js/app.995a58e1.js></script>
<script type=text/javascript src=/js/runtime.514e2f10.js></script>
<script type=text/javascript src=/js/vendor.ad270399.js></script>
</body>
</html>

@quasar/app v1.0.4

@serega270 serega270 added the bug label Aug 8, 2019
@rstoenescu

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

Hi,

Any reference to this? From what I know it doesn't matter.

@hawkeye64

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

@serega270

This comment has been minimized.

Copy link
Author

commented Aug 8, 2019

@rstoenescu
https://jsfiddle.net/qekdx1w5/1/
image

========
The same without sandbox
image

@rstoenescu

This comment has been minimized.

Copy link
Member

commented Aug 8, 2019

jsFiddle does not work as you'd imagine. the base tag does NOT end up in head.

Screenshot at Aug 08 22-43-46

@rstoenescu rstoenescu closed this Aug 8, 2019
@serega270

This comment has been minimized.

Copy link
Author

commented Aug 8, 2019

@rstoenescu yes, sorry, jsFiddle is bad example
but please look the example without sandbox
image

image

@rstoenescu

This comment has been minimized.

Copy link
Member

commented Aug 29, 2019

Will be fixed in quasar/app 1.0.6.

@rstoenescu rstoenescu closed this Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.