question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid location of Base tag

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rstoenescucommented, Aug 29, 2019

Will be fixed in quasar/app 1.0.6.

0reactions
serega270commented, Aug 8, 2019

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

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

eclipse Invalid location of tag (ol) warning - html - Stack Overflow
The structure should be valid even for html 4.01 . however i get the invalid location tag warning on eclipse for the nested/inner...
Read more >
Invalid location of tag (input) - HTML : Getting warning
HTML : HTML : Getting warning - Invalid location of tag (input) [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] HTML ...
Read more >
nobase - Error Reference - AngularJS: API
If you configure $location to use html5Mode ( history.pushState ), you need to specify the base URL for the application with a <base...
Read more >
8 Invalid HTML Elements You Should Stop Using Immediately »
Learn about deprecated and obsolete tags and the valid HTML elements and CSS properties to use instead.
Read more >
Invalid Location of tag (DIV) Error __div
The HTML tags in the JSP file are as follows, prompted in the Eclipse environment: Invalid Location of Tag (DIV). phenomenon: Enter the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found