1.1.8 • Published 12 months ago

json_generate v1.1.8

Weekly downloads
-
License
ISC
Repository
-
Last release
12 months ago

Desc/概述


File generator, generate file templates and export them in the index file, taro generated files only need to be used in the project directory to generate page folders in the pages directory, and configure pages in app.config;文件生成器, 生成文件模板并且在 index 文件导出, taro 生成文件只需要在项目目录使用便可以在 pages 目录下生成页面文件夹, 以及在 app.config 中配置页面;


command/指令full name/全称description/描述
tpTaro pageGenerate a new Taro page./生成一个 Taro 页面文件
ncNest controllerGenerate a new Nest controller./生成一个 Nestjs 的 controller 文件
nsNest serviceGenerate a new Nest service./生成一个 Nestjs 的 service 文件
vue2Vue2 fileGenerate a new Vue2 file./生成一个 Vue2 文件
vue3Vue3 fileGenerate a new Vue3 file./生成一个 Vue3 文件
vueVue3 fileGenerate a new Vue3 file./生成一个 Vue3 文件
tsTypeScript fileGenerate a new TypeScript file./生成一个 TypeScript 文件
jsJavaScript fileGenerate a new JavaScript file./生成一个 JavaScript 文件

install/安装

npm i json_generate -g

yarn add json_generate -g

grammar/语法:

  json_g [command] [name] [lang]

example/例如:

  json_g tp demo ts <!-- The following languages are optional/ 语言可选 -->
1.1.8

12 months ago

1.1.6

12 months ago

1.1.5

12 months ago

1.1.3

12 months ago

1.1.2

12 months ago

1.1.0

12 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.6

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago