L
L
lilwings2020-02-17 22:52:48
webpack
lilwings, 2020-02-17 22:52:48

Webpack using html files?

How can I configure and is there a plugin for WebPack with such functionality:

  1. Store html code in html file
  2. Possibility to use variables in html file, for example:
    <div clacc='popup__title'>{{title}}</div>

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


Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question