WebPack the use of html files?

How to set up and is there a plugin for WebPack with this functionality:

  1. To store html code in html file
  2. The ability to use variables in the html file, for example:
    <div clacc='popup__title'>{{title}}</div>

  3. Not necessarily, but it would be nice: conditionally disable elements. for example:
    <div clacc='popup__title' ngIf='true || false'>{{title}}</div>


April 7th 20 at 15:35
1 answer
April 7th 20 at 15:37
Solution

Find more questions by tags Webpack