964Gettting HTML Content from index.html into Vue

Vue index.html:

    <div id="app"></div>
    <!-- built files will be auto injected -->
    <div id="modalContent" style="display:none">
      <div id="modal1">
        Hello Modal Content Hello Modal Content

Why add another hidden div to index.html? To be able to edit/add content without rebuilding and running npm run build.

In Vue:


Actually basic JS, nothing special to Vue.