imgcook-dsl / h5-standard

适用于 H5 源码模块开发代码模板

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

English | 简体中文

Abstract

To provide a better experience for users who use imgcook to generate codes on multiple platforms, we provide Open DSL System (open domain-specific language system) that transcodes imgcook schema to any programming languages you love. The developers can use default DSLs provided imgcook (React, React Hooks, Rax, etc.) or submit there own DSLs to generate customized codes.

Usage

Select a DSL for code generation

In the imgcook editor, you can select a DSL for your project in the「code generation」panel. After that, we will generate your desired codes in the format of the language you chose.

pic 1

Use a third-party DSL

If you do not want to use the official DSL provided by imgcook. You can go to the DSL Market to add the third-party DSLs to your own DSL list.

pic 2

How to make your own DSL

Please refer to the DSL development part: https://www.imgcook.com/docs?slug=dsl-dev

About

适用于 H5 源码模块开发代码模板


Languages

Language:JavaScript 79.4%Language:TypeScript 18.8%Language:CSS 1.0%Language:HTML 0.7%