strangular
v1.1.4
Published
Static websites builder.
Downloads
48
Readme
STRANGULAR
Strangular is a tool to generate static pages from dynamic templates.
Installation
npm i -g strangularUsage
Command
sng [command] [arguments]or
strangular [command] [arguments]Commands
- build
- dev
- init
Parameters
- Open (
-oor--open) - Port (
-por--port)
Features
- Auto CSS formatting
- Auto CSS minification
- Auto JS minification
- Http server for easy development
- With live reload
- HTML Components
- HTML Templates and pages
- TWIG Templates and pages
Directories
- project
- assets
- .
- components
- *.html
- dist
- .
- pages
- *.html
- scripts
- *.js
- styles
- *.css
- index.html
- assets
Templates
Instructions
- Begin block:
block - End block:
endblock - Write block:
write - Include file:
include - Inheritance:
extend - Set variables:
set - Write variables:
{{ variable }} - Hidden comments:
<!--! comment --> - Call instructions:
<!-- {{ instruction }} -->
