File: webpack-import.html

package info (click to toggle)
node-html-loader 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,384 kB
  • sloc: javascript: 2,708; xml: 18; makefile: 5
file content (34 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div>
  <article>
    BeforeHeaderText<webpack-import src="./webpack-import-header.html" />AfterHeaderText
    <ol>
      <li>Grow a long, majestic beard.</li>
      <li>Wear a tall, pointed hat.</li>
      <li>Have I mentioned the beard?</li>
    </ol>
    BeforeFooterText<webpack-import src="./webpack-import-footer.html" />AfterFooterText
    TextBeforeOpenDiv<div>TextAfterOpenDiv<webpack-import src="./webpack-import-content.html" />TextBeforeCloseDiv</div>TextAfterCloseDiv
  </article>
</div>

<div>
  <img src="./image.png" alt="test">
</div>

<div>
  <webpack-import src="./webpack-import-content.html" />
  <webpack-import   src   =   "./webpack-import-content.html"   />
</div>

<div>
  <webpack-import src="./webpack-import-content.html"></webpack-import>
</div>

BEFORE
<webpack-import src="./webpack-import-partial.html">
  <header partial="header">Header</header>
  <div partial="content">Header</div>
  <footer partial="footer">Footer</footer>
  <custom partial="custom">Custom</custom>
</webpack-import>
AFTER