-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63921b8
commit 7800941
Showing
2 changed files
with
166 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,83 @@ | ||
<p align="center" > | ||
<img width="300" src="./src/assets/images/logo.png"> | ||
</p> | ||
|
||
<p align="center"> | ||
<img alt="" src="https://img.shields.io/badge/vue-3.2.41-brightgreen" /> | ||
<img alt="" src="https://img.shields.io/badge/vite-3.2.0-brightgreen" /> | ||
<img alt="" src="https://img.shields.io/badge/json--to--any-5.0.3-brightgreen" /> | ||
</p> | ||
|
||
|
||
## 💡 介绍 | ||
|
||
⚡️JsonToAny是一款前端开发人员的在线代码生成工具,通过开发者给定的 `JSON` / `Object`,自动生成指定的代码,提高团队前期整体开发效率。 | ||
|
||
|
||
## ✨ 功能 | ||
|
||
> 目前支持如下语言转换 | ||
* TypeScript(Web前端开发人员) | ||
* Java(原生Android开发人员) | ||
* Dart(Flutter开发人员) | ||
|
||
|
||
## 📝 使用 | ||
|
||
在线地址:[http://xiets.gitee.io/json-to-any-web/](http://xiets.gitee.io/json-to-any-web/) | ||
( [Gitee](https://gitee.com/XieTS/json-to-any-web) / | ||
[GitHub](https://github.com/xietiansheng/json-to-any-web) ) | ||
|
||
当然,你也可以 `Fork` 该项目对代码的生成结果进行定制化开发,自由操控生成结果。 | ||
|
||
## 🎉 效果 | ||
|
||
> JSON 转 TypeScript | ||
 | ||
|
||
> JSON 转 Java | ||
 | ||
|
||
> JSON 转 Dart | ||
 | ||
|
||
## 🔨 开发 | ||
|
||
```bash | ||
# gitee | ||
git clone https://gitee.com/XieTS/json-to-any-web.git | ||
# github | ||
git clone https://github.com/xietiansheng/json-to-any-web.git | ||
|
||
# 安装依赖(推荐pnpm) | ||
npm install | ||
|
||
# 启动服务 | ||
npm run dev | ||
``` | ||
|
||
## 🔧 发布 | ||
|
||
```cmd | ||
npm run build:prod | ||
``` | ||
|
||
## 🔍️ 其他 | ||
|
||
```cmd | ||
# 预览发布环境 | ||
npm run preview | ||
# 代码格式检查 | ||
npm run lint | ||
# 代码格式检查并自动修复 | ||
npm run lint -- --fix | ||
``` | ||
<p align="center" > | ||
<img width="300" src="./src/assets/images/logo.png"> | ||
</p> | ||
|
||
<p align="center"> | ||
<img alt="" src="https://img.shields.io/badge/vue-3.2.41-brightgreen" /> | ||
<img alt="" src="https://img.shields.io/badge/vite-3.2.0-brightgreen" /> | ||
<img alt="" src="https://img.shields.io/badge/json--to--any-5.0.3-brightgreen" /> | ||
</p> | ||
|
||
|
||
## 🌐 Language | ||
**[Chinese](README_CN.md) / English** | ||
|
||
|
||
## 💡 Introduction | ||
|
||
⚡️JsonToAny is an online code generation tool for front-end developers, which automatically generates the specified code through the `JSON` / `Object` given by the developer to improve the overall development efficiency of the team upfront. | ||
|
||
|
||
## ✨ Function | ||
|
||
> The following language conversions are currently supported | ||
* TypeScript(Web front-end developer) | ||
* Java(Native Android Developer) | ||
* Dart(Flutter Developer) | ||
|
||
|
||
## 📝 Use | ||
|
||
Online Address:[https://github.com/xietiansheng/json-to-any-web](http://xiets.gitee.io/json-to-any-web/) | ||
( [GitHub](https://github.com/xietiansheng/json-to-any-web) / [Gitee](https://gitee.com/XieTS/json-to-any-web) ) | ||
|
||
you can also `Fork` the project to customize the code generation results and freely manipulate the generated results. | ||
|
||
## 🎉 Effect | ||
|
||
> JSON to TypeScript | ||
 | ||
|
||
> JSON to Java | ||
 | ||
|
||
> JSON to Dart | ||
 | ||
|
||
## 🔨 Development | ||
|
||
```bash | ||
# github | ||
git clone https://github.com/xietiansheng/json-to-any-web.git | ||
# gitee | ||
git clone https://gitee.com/XieTS/json-to-any-web.git | ||
|
||
# 安装依赖(推荐pnpm) | ||
npm install | ||
|
||
# 启动服务 | ||
npm run dev | ||
``` | ||
|
||
## 🔧 Release | ||
|
||
```cmd | ||
npm run build:prod | ||
``` | ||
|
||
## 🔍️ Other | ||
|
||
```cmd | ||
# Preview Release Environment | ||
npm run preview | ||
# Code format check | ||
npm run lint | ||
# Code format check and automatic repair | ||
npm run lint -- --fix | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
<p align="center" > | ||
<img width="300" src="./src/assets/images/logo.png"> | ||
</p> | ||
|
||
<p align="center"> | ||
<img alt="" src="https://img.shields.io/badge/vue-3.2.41-brightgreen" /> | ||
<img alt="" src="https://img.shields.io/badge/vite-3.2.0-brightgreen" /> | ||
<img alt="" src="https://img.shields.io/badge/json--to--any-5.0.3-brightgreen" /> | ||
</p> | ||
|
||
## 🌐 语言 | ||
**中文 / [English](README.md)** | ||
|
||
|
||
## 💡 介绍 | ||
|
||
⚡️JsonToAny是一款前端开发人员的在线代码生成工具,通过开发者给定的 `JSON` / `Object`,自动生成指定的代码,提高团队前期整体开发效率。 | ||
|
||
|
||
## ✨ 功能 | ||
|
||
> 目前支持如下语言转换 | ||
* TypeScript(Web前端开发人员) | ||
* Java(原生Android开发人员) | ||
* Dart(Flutter开发人员) | ||
|
||
|
||
## 📝 使用 | ||
|
||
在线地址:[http://xiets.gitee.io/json-to-any-web/](http://xiets.gitee.io/json-to-any-web/) | ||
( [Gitee](https://gitee.com/XieTS/json-to-any-web) / | ||
[GitHub](https://github.com/xietiansheng/json-to-any-web) ) | ||
|
||
当然,你也可以 `Fork` 该项目对代码的生成结果进行定制化开发,自由操控生成结果。 | ||
|
||
## 🎉 效果 | ||
|
||
> JSON 转 TypeScript | ||
 | ||
|
||
> JSON 转 Java | ||
 | ||
|
||
> JSON 转 Dart | ||
 | ||
|
||
## 🔨 开发 | ||
|
||
```bash | ||
# gitee | ||
git clone https://gitee.com/XieTS/json-to-any-web.git | ||
# github | ||
git clone https://github.com/xietiansheng/json-to-any-web.git | ||
|
||
# 安装依赖(推荐pnpm) | ||
npm install | ||
|
||
# 启动服务 | ||
npm run dev | ||
``` | ||
|
||
## 🔧 发布 | ||
|
||
```cmd | ||
npm run build:prod | ||
``` | ||
|
||
## 🔍️ 其他 | ||
|
||
```cmd | ||
# 预览发布环境 | ||
npm run preview | ||
# 代码格式检查 | ||
npm run lint | ||
# 代码格式检查并自动修复 | ||
npm run lint -- --fix | ||
``` |