Ezal
Simple blog framework.
简体中文
Document
English Document
中文文档
Todo
Use
Install Ezal.
npm init
npm install --save chokidar
npm install --save highlight.js
npm install --save live-server
npm install --save pug
npm install --save stylus
npm install --save yaml
npm install --save ezal
Add in package.json
.
{
"scripts": {
"init": "node ./node_modules/ezal/dist/main.js init",
"build": "node ./node_modules/ezal/dist/main.js",
"serve": "node ./node_modules/ezal/dist/main.js serve",
"clean": "node ./node_modules/ezal/dist/main.js clean"
}
}
Init the project.
npm run init
Done.
Build
npm install
npm install -g typescript
tsc
Run
npm run serve
Clean
npm run clean