@11in/elf-generator-blog 中文文档教程
Blog Generator
Usage
添加到您的 elf.config.js
:
module.exports = {
functions: {
scaffold: {},
generators: {
commands: [
require('@11in/elf-generator-blog'),
]
}
}
}
此模块包含用于生成器的 --categories
选项。 传递给此选项的项目将被视为数组中的值。
Blog Generator
A simple generator for simple blog content, for elf and elfin.
Usage
Add to your elf.config.js
:
module.exports = {
functions: {
scaffold: {},
generators: {
commands: [
require('@11in/elf-generator-blog'),
]
}
}
}
This module includes a --categories
option for the generator. Items passed to this option will be treated as values in an array.