tiny-vue/examples/react-site
张烟铃 2eba6c9057
feat: add tiny-react (#1605)
* 图表

* chart log

* add anchor

* test

* add guide

* add breadcrumb

* 1

* tag add

* 1

* Merge branch 'master' of https://gitee.com/zhang-yanling/opentiny

# Conflicts:
#	examples/react-docs/src/tag/base.tsx
#	packages/react/src/common/package.json
#	packages/react/src/common/src/index.ts
#	packages/react/src/common/src/vue-hooks.ts
#	packages/react/src/common/src/vue-instance.ts
#	packages/react/src/tag/src/pc.jsx
#	packages/renderless/src/badge/vue.ts
#	packages/renderless/src/chart-line/index.ts
#	packages/renderless/src/chart-waterfall/index.ts
#	packages/renderless/types/badge.type.ts

* 1

* change docs

* add float-button divider

* add serch

* add tooltip

* 添加darwer 说明文档

* add time-line

* add qrcode

* 说明文档进一步说明

* 说明文档进一步说明

* add skeleton

* 优化说明文档

* add progress

* ADD progress mobile

* 文档优化 删除一些不必要的文件

* rename file

* vue转jsx

* 优化脚本文件

* 优化脚本文件

* 优化脚本文件

* 优化脚本文件

* fix:merge
2024-05-10 14:33:17 +08:00
..
demos feat: add tiny-react (#1605) 2024-05-10 14:33:17 +08:00
env feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
public feat: add tiny-react (#1605) 2024-05-10 14:33:17 +08:00
scripts fix color-picker bug and update changelog (#631) 2023-10-24 15:06:31 +08:00
src feat: add tiny-react (#1605) 2024-05-10 14:33:17 +08:00
tiny-uno feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
.prettierrc.js feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
.stylelintignore feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
.stylelintrc.js feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
README.md feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
components.d.ts feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
index.html feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
md.extend.config.js feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
package.json feat: optimize mobile-first components 2024-02-04 11:54:30 +08:00
tiny.config.js feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
tsconfig.json feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
uno.config.js feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
vite.config.js feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00

README.md

react 组件文档开发说明

命令

启动

pnpm start

打包

pnpm build

编译 react.jsx 为 react.js

pnpm build:react2

此 vue 项目vue自身需要 jsx所以使用 react 的 jsx只能将其编译为 .js 才能使用

开发说明

目录说明

主要是 demos 底下的文件是用来配置文档展示那些组件,以及写组件示例的

demos
    /app
        /alert
            /webdoc
                /alert.json 配置 alert 组件的文档展示
            /base.vue base 示例文件,导入 base.jsx注册 web comp
            /base.jsx base 写 react 示例
    /webdoc 
        /introduce.md 组件库的介绍文档
        /menu.js 组件库的左侧菜单配置
    /config.js demo 配置
    /overviewimage 组件总览的图标,在这里添加图标