svrx-plugin-ssi
support ssi(Server Side Include) like Nginx
Usage
Please make sure that you have installed svrx already.
Via CLI
svrx -p ssi
Via API
const svrx = ; start;
Example
index.html(entry)
<!--# include file="./top.html" --> Middle <!--# include file="./bottom.html" -->
top.html in same folder
Top
bottom.html in same folder
Bottom
when visit index.html you will get
Top Middle Bottom
Options
License
MIT