jh-generator

Automate the generation of routing configurations and files

Usage no npm install needed!

<script type="module">
  import jhGenerator from 'https://cdn.skypack.dev/jh-generator';
</script>

README

auto-generator

自定义模版和配置

Installation

npm install auto-generator -g

Command

create router file

cg init

create template file

The s of options for struct field, the parameter pages for a template under struct field, and src/home for the directory that you're going to create

cg create -s pages src/home