# common-comment **Repository Path**: activity-platform-components/common-comment ## Basic Information - **Project Name**: common-comment - **Description**: 营销活动平台评论组件 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-17 - **Last Updated**: 2024-07-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # @xmc/common-comment ## 运行命令 ```bash yarn start # 启动调试,Editor & 页面 yarn start:editor # 启动 Editor 调试 yarn start:node # 启动页面调试 yarn commit # commit 提交(推荐,替代 git commit) yarn build # 打包 yarn pub # 发布 ☞ 依次执行:Build & 自动更新版本号 & 更新 CHANGELOG & 发布组件(发布后还需管理员审核组件) ``` ## 组件开发文档 http://commercial-activity-maker.pages.xmly.work/create-component-app/ ## 目录 ```bash ├── .cca/ # 调试工具的缓存目录(用于安装远程组件) ├── .vscode/ # vscode 默认配置(推荐 git 提交) ├── dist/ # 组件打包输出 ├── node_modules/ ├── src/ # 源码 │ ├── node/ # 组件渲染代码(SSR 服务端渲染,需要包含组件的完整功能) │ ├── preview/ # preview 编辑预览代码 │ ├── setting/ # setting 配置 │ ├── default-props.ts # 组件配置的默认值(forms props)—— 合适、恰当的默认 forms props,会有助于运营同学理解“你的组件怎样配置” │ ├── setupProxy.js # 接口调试 proxy(可删除) │ ├── type.ts # form props TS 类型定义(仅用于定义 props) │ └── typings.d.ts # TS 全局类型定义(相当于 React 项目的 react-app-env.d.ts) ├── .env.development # yarn start:editor 环境变量 ├── .env.node.development # yarn start:node 环境变量 ├── .gitignore ├── .yarnrc ├── CHANGELOG.md ├── README.md ├── package.json ├── tsconfig.json └── yarn.lock ```