April 7, 2024, 8:38 p.m. | Schalk Neethling

DEV Community dev.to

The problem described here might not be something you run into often, as it mainly applies to situations where you write your HTML template directly in your HTML document. If you use a string template or a single file component, you will not encounter this problem.


When learning or wanting to prototype an idea when using Vuejs quickly, you may choose to place all of your code in a single .html document. Something like this:



<div id="app">
<h1>WaterBear</h1>
<table> …

document dom file html javascript parsing something string table template vue vuejs webdev will

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US

AI Research Scientist

@ Vara | Berlin, Germany and Remote

Data Architect

@ University of Texas at Austin | Austin, TX

Data ETL Engineer

@ University of Texas at Austin | Austin, TX

DevOps Engineer (Data Team)

@ Reward Gateway | Sofia/Plovdiv