A static site generator powered by Deno + React
MIT License
pagic build
instead of pagic
require('pagic')
will return the Pagic
class_config.yml
We can set the configuration in _config.yml
, the default is:
src_dir: src
public_dir: public
pagic build
We can use pagic build
to build static page, there are some options while using build command:
pagic build [options]
# -w, --watch watch src dir change
# -s, --serve serve public dir
# -p, --port override default port
pagic init
We can use pagic init
to create a new Pagic folder:
pagic init <dir>