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.

Please add back <div id="q-app"></div> to /src/index.template.html inside of <body>

See original GitHub issue

Describe the bug

If I replace quotes from double to single in src/index.template.html, I got an error on app start:

 App • ⚠️  Please add back <div id="q-app"></div> to
    /src/index.template.html inside of <body>

Codepen/jsFiddle/Codesandbox (required)

https://codesandbox.io/s/vigilant-burnell-4qnn6?file=/src/index.template.html

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘src/index.template.html’
  2. Replace " with '
  3. Restart app (quasar dev)
  4. See error

Expected behavior App is working

Platform (please complete the following information): Quasar Version: @quasar/app Version: 3.0.4

Quasar mode:

  • SPA
  • SSR
  • PWA
  • Electron
  • Cordova
  • Capacitor
  • BEX

Tested on:

  • SPA
  • SSR
  • PWA
  • Electron
  • Cordova
  • Capacitor
  • BEX

OS: macOS 11.5.1 (20G80) Node: 14.17.5 NPM: 6.14.14 Yarn: 1.22.10 Browsers: Google Chrome 92.0.4515.131

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
pdanpdancommented, Aug 30, 2021

Ok, but use double quotes 😃

1reaction
pdanpdancommented, Aug 13, 2021

The quotes used in html are double quotes, not single ones.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding div element to body or document in JavaScript
The most underrated method is insertAdjacentElement . You can literally add your HTML using one single line.
Read more >
Did you add an opening <div> tag inside <body>? - CSS
Create a new rule that targets the span element inside .intro. Give the span element a bold font weight and an italic font...
Read more >
The Content Template element - HTML - MDN Web Docs
The HTML element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may...
Read more >
HTML body tag
A simple HTML document: · Title of the document · </html> ; Add a background image to a document (with CSS): · body...
Read more >
Basic HTML5 Template: Use This HTML Boilerplate as a ...
A boilerplate in HTML is a template you will add at the start of your project. ... You will nest the <head> and...
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