Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skiqt/includefile-loader
include all file
https://github.com/skiqt/includefile-loader
Last synced: 3 months ago
JSON representation
include all file
- Host: GitHub
- URL: https://github.com/skiqt/includefile-loader
- Owner: skiqt
- Created: 2017-12-03T09:21:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-08T02:31:33.000Z (almost 7 years ago)
- Last Synced: 2024-07-05T15:46:19.739Z (4 months ago)
- Language: JavaScript
- Size: 15.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-star - includefile-loader
README
# includefile-loader
include .js .css .html ...## 安装
**Install**
```bash
npm install --save-dev includefile-loader
```## 注意事项 》不要相互嵌套《 否则有不好的结果
## 案例
```html
|include
--|a.js
--|b.js
--|base.html
--|body.html
--|footer.html
--|header.html
--|style.css
|text.html
```### text.html
```html
```
### base.html
```html
```
### 懒! 结果就不贴了