GithubHelp home page GithubHelp logo

zh-code-automatic-generator's Introduction

zh-code-automatic-generator

前言 📖

  • Zh Code Automatic Generator 是一个代码生成器项目,该项目前后端在同个目录,通过tsconfig区分前后端项目,前后端均用ts完成开发
  • 前端基于 vite + nuxt3.0 + element Plus + ts + pinia 的 SSR 项目,开发目录 zh-code-automatic-generator/src
  • 后端基于 koa2.0 全家桶 + art-template + ts,开发目录 zh-code-automatic-generator/server

代码生成器配置

  • 代码生成器分成两个模块
  1. 文件模块,可配置增删改查,目前默认支持导出三份文件(不可删除,可以维护),需要拓展可以选择新增需要导出的文件并编写导出模板导出文件。
    文件模块分成:
    fileName 文件名,
    fileSuffix 文件后缀,文件属性是一个数组对象 array[object],导出文件的文件名是[fileName].[fileSuffix],属性会自动填充到模板中去
  2. 模板模块, 模板模块与文件模板做关联,每个文件对应一个模板,可以实现自定义模板,并根据文件模板属性做填充

zh-code-automatic-generator's People

Contributors

linshenghao avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.