├── typings.d.ts ├── src ├── pages │ ├── Json2Ts │ │ ├── config.json │ │ ├── index.less │ │ ├── PageContext.tsx │ │ ├── JsonView │ │ │ └── index.tsx │ │ ├── TypeView │ │ │ └── index.tsx │ │ └── index.tsx │ ├── Json2ProTable │ │ ├── config.json │ │ ├── index.less │ │ ├── PageContext.tsx │ │ ├── JsonView │ │ │ └── index.tsx │ │ ├── index.tsx │ │ └── ProTableView │ │ │ └── index.tsx │ ├── Guide │ │ ├── index.less │ │ └── index.tsx │ └── index │ │ └── index.tsx ├── assets │ └── yay.jpg ├── components │ └── LayoutRoot │ │ ├── index.less │ │ └── index.tsx └── hooks │ └── useScale.ts ├── tsconfig.json ├── .npmrc ├── tailwind.css ├── .gitignore ├── tailwind.config.js ├── README.md ├── docment.html ├── site ├── Guide.css ├── index.html ├── Guide.html ├── Json2Ts.html ├── Json2ProTable.html ├── Json2Ts.css ├── Json2ProTable.css └── index.js ├── package.json └── config └── config.ts /typings.d.ts: -------------------------------------------------------------------------------- 1 | import 'umi/typings'; 2 | -------------------------------------------------------------------------------- /src/pages/Json2Ts/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "Json2Ts" 3 | } 4 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./src/.umi/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /src/pages/Json2ProTable/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "title": "Json2ProTable" 3 | } 4 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | registry=https://registry.npmjs.org/ 2 | strict-peer-dependencies=false 3 | -------------------------------------------------------------------------------- /tailwind.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; 4 | -------------------------------------------------------------------------------- /src/assets/yay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NelsonYong/code-producer/HEAD/src/assets/yay.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /.env.local 3 | /.umirc.local.ts 4 | /config/config.local.ts 5 | /src/.umi 6 | /src/.umi-production 7 | /src/.umi-test 8 | /dist 9 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | content: [ 3 | './src/pages/**/*.tsx', 4 | './src/components/**.tsx', 5 | './src/layouts/**.tsx', 6 | ], 7 | } 8 | -------------------------------------------------------------------------------- /src/pages/Guide/index.less: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0 !important; 3 | } 4 | 5 | .cover { 6 | display: flex !important; 7 | width: 100%; 8 | justify-content: center !important; 9 | } 10 | -------------------------------------------------------------------------------- /src/pages/index/index.tsx: -------------------------------------------------------------------------------- 1 | import { useEffect } from 'react' 2 | 3 | const index = () => { 4 | useEffect(() => { 5 | window.location.href = '/Guide.html' 6 | }, []) 7 | return
8 | } 9 | 10 | export default index 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # code-producer 2 | 3 | 🏭 Make different forms of the code 4 | 5 | ## Pages 6 | 7 | - [Home](https://code-producer.vercel.app/Guide.html) 8 | 9 | - [Json to Ts](https://code-producer.vercel.app/Json2Ts.html) 10 | 11 | - [Antd ProTable](https://code-producer.vercel.app/Json2ProTable.html) 12 | -------------------------------------------------------------------------------- /docment.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 10 |