Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
qkiroc a0b96570f1 | 2 days ago | |
---|---|---|
.github | 3 weeks ago | |
.husky | 1 year ago | |
.vscode | 9 months ago | |
__mocks__ | 1 year ago | |
docs/zh-CN | 4 days ago | |
examples | 3 days ago | |
mock | 3 months ago | |
packages | 2 days ago | |
scripts | 3 days ago | |
types/uncontrollable | 1 year ago | |
.dockerignore | 1 year ago | |
.editorconfig | 1 month ago | |
.gitattributes | 1 month ago | |
.gitignore | 3 months ago | |
.gitpod.yml | 9 months ago | |
.npmrc | 1 year ago | |
.prettierrc | 3 years ago | |
.stylelintrc.json | 1 year ago | |
.swcrc | 2 months ago | |
.travis.yml | 3 years ago | |
LICENSE | 8 months ago | |
README.md | 2 weeks ago | |
amis.code-workspace | 3 days ago | |
deploy-gh-pages.sh | 1 year ago | |
fis-conf.js | 3 weeks ago | |
i18nConfig.ts | 8 months ago | |
index.html | 3 days ago | |
lerna.json | 3 weeks ago | |
package.json | 3 days ago | |
publish.json | 3 months ago | |
pull_request_template.md | 4 months ago | |
tsconfig.json | 4 months ago | |
vite.config.ts | 4 months ago |
文档(国内) |
文档(国外) |
可视化编辑器 |
amis-admin |
爱速搭
前端低代码框架,通过 JSON 配置就能生成各种后台页面,极大减少开发成本,甚至可以不需要了解前端。
以下是参与开发 amis 才需要看的,使用请看前面的文档。
如果 github 下载慢可以使用 gitee 上的镜像。
推荐使用 node 12/14/16。npm 7+, 因为用到了 workspaces 功能。
# 安装项目 npm 依赖,在 node 12 下会有报错但不影响正常使用。
npm i --legacy-peer-deps
# 启动项目,等编译结束后通过 http://127.0.0.1:8888/examples/pages/simple 访问。
npm start
如果是开发编辑器,需要访问 http://127.0.0.1:8888/packages/amis-editor/
注意:本地修改代码后,执行测试用例(
npm test --workspaces
)之前需要先执行npm run build
完成编译,因为 jest 并不支持 TypeScript
# 安装依赖
npm i --legacy-peer-deps
# 执行构建
npm run build
# 执行测试用例
npm test --workspaces
# 测试某个用例
# <spec-name>为用例名称,比如inputImage
npm test --workspace amis -- -t <spec-name>
# 运行某个单测文件
./node_modules/.bin/jest packages/amis/__tests__/renderers/Form/buttonToolBar.test.tsx
# 运行某个单测文件里的某个例子
./node_modules/.bin/jest packages/amis/__tests__/renderers/Form/buttonToolBar.test.tsx -t 'Renderer:button-toolbar'
# 查看测试用例覆盖率
npm run coverage
# 更新 snapshot
npm run update-snapshot
# 更新单个 snapshot
# <spec-name>为用例名称,比如inputImage
npm run update-snapshot --workspace amis -- -t <spec-name>
# 发布内部 registry
npm run publish
# 发布外网环境
# 先通过一下命令设置版本号
npm run version
npm run release
请使用分支开发,首先创建分支
git checkout -b feat-xxx
开发提交后使用 git push --set-upstream origin feat-xxx
创建远程分支。
然后通过系统提示的 https://github.com/xxx/amis/pull/new/feat-xxx 链接来提交 PR。
请采用 typescript 编写,所有合理的改动、新的公用渲染器、用例或者文档的提交都会被接收。
amis 只能实现前端低代码,如果需要完整的低代码平台推荐使用爱速搭。
Amis 是百度开源的一款前端低代码框架,通过 JSON 配置就能生成各种后台页面,包括数据获取、表单提交及验证等功能,同时,Amis内置 100+ 种 UI 组件,能够满足各种页面组件展现的需求,极大减少开发成本,甚至可以不需要了解前端。amis 在百度内部得到了广泛使用,在 4 年多的时间里创建了 3w 多页面,从内容审核到机器管理,从数据分析到模型训练,amis 满足了各种各样的页面需求。我们可以下载源码,然后使用如下的命令来体验。
TSX TypeScript SCSS JavaScript SVG other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》