include .js .css .html ...
Install
npm install --save-dev includefile-loader
|include
--|a.js
--|b.js
--|base.html
--|body.html
--|footer.html
--|header.html
--|style.css
|text.html
<include src="include/base.html">
<include src="./include/header.html"></include>
<include src="./include/body.html"></include>
<include src="./include/footer.html">
<include src="./include/header.html"></include>
</include>
</include>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<include src="style.css" />
</head>
<body>
<!-- {{ include }} -->
</body>
</html>