Releases: xcatliu/pagic
Releases · xcatliu/pagic
v1.0.0-alpha.1
Pagic v1 is coming!
After releasing v1.0.0-alpha.1,
- The core function has been developed
- APIs will not have breaking changes
- There will have changelogs in each release
Features
Easy to configure
- Convention over configuration
- Single config file
pagic.config.ts
- Intuitive design
Support md and tsx
- Render
md/tsx
to static HTML page - Support React Hooks
- Pre-render to static HTML, run as an SPA once loaded
Themes and plugins
- Official themes default/docs/blog with dark mode
- Combine plugins to build process
- Import third-party themes or plugins through URL
Demos
v0.6.0
v0.5.0
v0.4.1
v0.4.0
Breaking Changes
- Use
pagic build
instead ofpagic
require('pagic')
will return thePagic
class
New Features
_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>