0.1.9 • Published 3 years ago

html-fusion v0.1.9

Weekly downloads
13
License
MIT
Repository
github
Last release
3 years ago

html-fusion

Fuse multiple HTML files into one

Installation

npm i -D html-fusion

Usage

npx fusion <input_html> -o <output_html> Watch for changes and fuse automatically npx fusion <input_html> -o <output_html> -w <directory_to_watch>

Include other HTML files

<body>
  <!-- Include multiple HTML files (in same folder or in nested folders) -->
  {{
  components/title.html
  components/nav.html
  another_file.html
  }}
  
  <!-- Single HTML include -->
  {{ components/footer }}
</body>

Example of an HTML include

<!-- components/nav.html -->
<nav>
  <a>Content</a>
  <a>More stuff</a>
<nav>

`

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.2

3 years ago

0.1.3

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago