tiny-vue/examples/react-site
Kagol e848314b4b
feat: optimize mobile-first components
2024-02-04 11:54:30 +08:00
..
demos feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
env feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
public feat(react): merge react-dev to dev (#531) 2023-09-28 19:39:05 +08:00
scripts fix color-picker bug and update changelog (#631) 2023-10-24 15:06:31 +08:00
src Dev docs fix review (#882) 2023-11-20 19:42:06 +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 组件总览的图标,在这里添加图标