sigwin/yassg
Composer 安装命令:
composer require sigwin/yassg
包简介
Yet Another Static Site Generator
README 文档
README
Start building a static site powered by Twig and Encore.
Use a YAML database to organize routes and data.
Get started
-
create an empty folder
mkdir yassg-test && cd yassg-test
-
require the package
composer require sigwin/yassg
-
init the project
vendor/sigwin/yassg/bin/yassg yassg:init
-
run a dev server:
make start/dev
Build the site
Pass the base URL to build
BASE_URL=https://example.com/subdir make build/clean
The output will be in the public/ folder,
the contents of which needs to be deployed to the BASE_URL.
Pages CI setup
Includes Gitlab CI / Gitlab Pages setup.
统计信息
- 总下载量: 1.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-12-30