1.1.3 • Published 7 years ago
sssg v1.1.3
sssg - Simple Static Site Generator
Generate static website from developer-friendly languages like pug, stylus, es6.
Not limited to es6, you can develop with ReactJS, flow-type, and any other frameworks/languages which babel can transpile. See detail in Build Mechanism.
See document for details.
Install
npm install -g sssg
Try prototyping
sssg try
After dispatching sssg try
,
- Directories
./src
and./docs
will be created at your working directory. - Browser app will launch and open
./docs/index.html
. - The web page in browser will be live-reloaded when you update files in
./src
folder.
dir | description |
---|---|
./src | Stores files to be edited. |
./docs | Stores files to be served by web server |
You can freely edit files in the ./src
folder and see changes on your browser's page.