🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 174 (from laksa097)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
20 days ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.7 months ago (distributed domain, exempt)
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://github.com/baidu/amis
Last Crawled2026-03-17 08:44:50 (20 days ago)
First Indexed2019-05-03 12:09:58 (6 years ago)
HTTP Status Code200
Meta TitleGitHub - baidu/amis: 前端低代码框架,通过 JSON 配置就能生成各种页面。 · GitHub
Meta Description前端低代码框架,通过 JSON 配置就能生成各种页面。. Contribute to baidu/amis development by creating an account on GitHub.
Meta Canonicalnull
Boilerpipe Text
如流群:3395342 | 如流群2:5511067| 前端低代码框架,通过 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 只能实现前端低代码,如果需要完整的低代码平台推荐使用 爱速搭 。
Markdown
[Skip to content](https://github.com/baidu/amis#start-of-content) ## Navigation Menu Toggle navigation [Sign in](https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbaidu%2Famis) Appearance settings - Platform - AI CODE CREATION - [GitHub CopilotWrite better code with AI](https://github.com/features/copilot) - [GitHub SparkBuild and deploy intelligent apps](https://github.com/features/spark) - [GitHub ModelsManage and compare prompts](https://github.com/features/models) - [MCP RegistryNewIntegrate external tools](https://github.com/mcp) - DEVELOPER WORKFLOWS - [ActionsAutomate any workflow](https://github.com/features/actions) - [CodespacesInstant dev environments](https://github.com/features/codespaces) - [IssuesPlan and track work](https://github.com/features/issues) - [Code ReviewManage code changes](https://github.com/features/code-review) - APPLICATION SECURITY - [GitHub Advanced SecurityFind and fix vulnerabilities](https://github.com/security/advanced-security) - [Code securitySecure your code as you build](https://github.com/security/advanced-security/code-security) - [Secret protectionStop leaks before they start](https://github.com/security/advanced-security/secret-protection) - EXPLORE - [Why GitHub](https://github.com/why-github) - [Documentation](https://docs.github.com/) - [Blog](https://github.blog/) - [Changelog](https://github.blog/changelog) - [Marketplace](https://github.com/marketplace) [View all features](https://github.com/features) - Solutions - BY COMPANY SIZE - [Enterprises](https://github.com/enterprise) - [Small and medium teams](https://github.com/team) - [Startups](https://github.com/enterprise/startups) - [Nonprofits](https://github.com/solutions/industry/nonprofits) - BY USE CASE - [App Modernization](https://github.com/solutions/use-case/app-modernization) - [DevSecOps](https://github.com/solutions/use-case/devsecops) - [DevOps](https://github.com/solutions/use-case/devops) - [CI/CD](https://github.com/solutions/use-case/ci-cd) - [View all use cases](https://github.com/solutions/use-case) - BY INDUSTRY - [Healthcare](https://github.com/solutions/industry/healthcare) - [Financial services](https://github.com/solutions/industry/financial-services) - [Manufacturing](https://github.com/solutions/industry/manufacturing) - [Government](https://github.com/solutions/industry/government) - [View all industries](https://github.com/solutions/industry) [View all solutions](https://github.com/solutions) - Resources - EXPLORE BY TOPIC - [AI](https://github.com/resources/articles?topic=ai) - [Software Development](https://github.com/resources/articles?topic=software-development) - [DevOps](https://github.com/resources/articles?topic=devops) - [Security](https://github.com/resources/articles?topic=security) - [View all topics](https://github.com/resources/articles) - EXPLORE BY TYPE - [Customer stories](https://github.com/customer-stories) - [Events & webinars](https://github.com/resources/events) - [Ebooks & reports](https://github.com/resources/whitepapers) - [Business insights](https://github.com/solutions/executive-insights) - [GitHub Skills](https://skills.github.com/) - SUPPORT & SERVICES - [Documentation](https://docs.github.com/) - [Customer support](https://support.github.com/) - [Community forum](https://github.com/orgs/community/discussions) - [Trust center](https://github.com/trust-center) - [Partners](https://github.com/partners) [View all resources](https://github.com/resources) - Open Source - COMMUNITY - [GitHub SponsorsFund open source developers](https://github.com/sponsors) - PROGRAMS - [Security Lab](https://securitylab.github.com/) - [Maintainer Community](https://maintainers.github.com/) - [Accelerator](https://github.com/accelerator) - [GitHub Stars](https://stars.github.com/) - [Archive Program](https://archiveprogram.github.com/) - REPOSITORIES - [Topics](https://github.com/topics) - [Trending](https://github.com/trending) - [Collections](https://github.com/collections) - Enterprise - ENTERPRISE SOLUTIONS - [Enterprise platformAI-powered developer platform](https://github.com/enterprise) - AVAILABLE ADD-ONS - [GitHub Advanced SecurityEnterprise-grade security features](https://github.com/security/advanced-security) - [Copilot for BusinessEnterprise-grade AI features](https://github.com/features/copilot/copilot-business) - [Premium SupportEnterprise-grade 24/7 support](https://github.com/premium-support) - [Pricing](https://github.com/pricing) Search or jump to... # Search code, repositories, users, issues, pull requests... [Search syntax tips](https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax) # Provide feedback Cancel Submit feedback # Saved searches ## Use saved searches to filter your results more quickly Cancel Create saved search [Sign in](https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fbaidu%2Famis) [Sign up](https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=baidu%2Famis) Appearance settings Resetting focus You signed in with another tab or window. [Reload](https://github.com/baidu/amis) to refresh your session. You signed out in another tab or window. [Reload](https://github.com/baidu/amis) to refresh your session. You switched accounts on another tab or window. [Reload](https://github.com/baidu/amis) to refresh your session. Dismiss alert {{ message }} [baidu](https://github.com/baidu) / **[amis](https://github.com/baidu/amis)** Public - [Notifications](https://github.com/login?return_to=%2Fbaidu%2Famis) You must be signed in to change notification settings - [Fork 2.7k](https://github.com/login?return_to=%2Fbaidu%2Famis) - [Star 18.8k](https://github.com/login?return_to=%2Fbaidu%2Famis) - [Code](https://github.com/baidu/amis) - [Issues 1.7k](https://github.com/baidu/amis/issues) - [Pull requests 28](https://github.com/baidu/amis/pulls) - [Discussions](https://github.com/baidu/amis/discussions) - [Actions](https://github.com/baidu/amis/actions) - [Security 0](https://github.com/baidu/amis/security) - [Insights](https://github.com/baidu/amis/pulse) Additional navigation options - [Code](https://github.com/baidu/amis) - [Issues](https://github.com/baidu/amis/issues) - [Pull requests](https://github.com/baidu/amis/pulls) - [Discussions](https://github.com/baidu/amis/discussions) - [Actions](https://github.com/baidu/amis/actions) - [Security](https://github.com/baidu/amis/security) - [Insights](https://github.com/baidu/amis/pulse) # baidu/amis master [**68** Branches](https://github.com/baidu/amis/branches) [**115** Tags](https://github.com/baidu/amis/tags) Go to file Code Open more actions menu ## Folders and files | Name | Name | Last commit message | Last commit date | |---|---|---|---| | Latest commit ![ranwawa](https://avatars.githubusercontent.com/u/30344590?v=4&size=40)![ranqirong](https://github.githubassets.com/images/gravatars/gravatar-user-420.png?size=40) [ranwawa](https://github.com/baidu/amis/commits?author=ranwawa) and ranqirong [chore(amis): 添加eslint支持并删除已声明但未使用的变量,以保持代码整洁 (](https://github.com/baidu/amis/commit/827d8cf2131f2dcff28029599b471fd768ca5264)[\#21226](https://github.com/baidu/amis/pull/21226)[)](https://github.com/baidu/amis/commit/827d8cf2131f2dcff28029599b471fd768ca5264) Open commit details success Dec 27, 2025 [827d8cf](https://github.com/baidu/amis/commit/827d8cf2131f2dcff28029599b471fd768ca5264) · Dec 27, 2025 History [14,933 Commits](https://github.com/baidu/amis/commits/master/) Open commit details 14,933 Commits | | | | ## Repository files navigation - [README](https://github.com/baidu/amis) - [Apache-2.0 license](https://github.com/baidu/amis) [![](https://github.com/baidu/amis/raw/master/examples/static/logo.png)](https://github.com/baidu/amis/raw/master/examples/static/logo.png) [文档(国内)](https://aisuda.bce.baidu.com/amis/) \| [文档(国外)](https://baidu.github.io/amis/) \| [可视化编辑器](https://aisuda.github.io/amis-editor-demo/) \| [amis-admin](https://github.com/aisuda/amis-admin) \| [爱速搭](https://aisuda.baidu.com/) 如流群:3395342 \| 如流群2:5511067\| [![build](https://camo.githubusercontent.com/59cc2d87342e9a870934c05eeb6178279e9bcce69c5fdf0254fc14c9f381a782/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62616964752f616d69732f67682d70616765732e796d6c)](https://camo.githubusercontent.com/59cc2d87342e9a870934c05eeb6178279e9bcce69c5fdf0254fc14c9f381a782/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62616964752f616d69732f67682d70616765732e796d6c) [![license](https://camo.githubusercontent.com/c45288637119e7b3f54a0fe4c02635eb1f2703c52353784c220df25bfd682723/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62616964752f616d69732e737667)](https://camo.githubusercontent.com/c45288637119e7b3f54a0fe4c02635eb1f2703c52353784c220df25bfd682723/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62616964752f616d69732e737667) [![version](https://camo.githubusercontent.com/239f6ff5d007f082002d4dd6576c71f4167f54f8d8995cddc547e19b3cbb1ba8/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f616d6973)](https://camo.githubusercontent.com/239f6ff5d007f082002d4dd6576c71f4167f54f8d8995cddc547e19b3cbb1ba8/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f616d6973) [![language](https://camo.githubusercontent.com/1e01f5240e5a2992e4ba2308aa4acd3a3a7d2de7dbc4e242647e228cd26ff433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f62616964752f616d6973)](https://camo.githubusercontent.com/1e01f5240e5a2992e4ba2308aa4acd3a3a7d2de7dbc4e242647e228cd26ff433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f62616964752f616d6973) [![codecov](https://camo.githubusercontent.com/5f7b9f3c345ef1a73c690e4508f98da13ed681cad28a41e394bbdfc45c65ce98/68747470733a2f2f636f6465636f762e696f2f67682f62616964752f616d69732f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d394c77696d48476f4535)](https://codecov.io/gh/baidu/amis) [![last](https://camo.githubusercontent.com/c3b8e519c2cdeca5f86411222ad252b1fad929b8ed7fde8e8b7427419bd38d9c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f62616964752f616d69732e737667)](https://camo.githubusercontent.com/c3b8e519c2cdeca5f86411222ad252b1fad929b8ed7fde8e8b7427419bd38d9c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f62616964752f616d69732e737667) 前端低代码框架,通过 JSON 配置就能生成各种后台页面,极大减少开发成本,甚至可以不需要了解前端。 ## 开发指南 以下是参与开发 amis 才需要看的,使用请看前面的文档。 > 如果 github 下载慢可以使用 [gitee](https://gitee.com/baidu/amis) 上的镜像。 推荐使用 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 编写,所有合理的改动、新的公用渲染器、用例或者文档的提交都会被接收。 ## 贡献者 [![](https://camo.githubusercontent.com/a6ef7d3593720b00de9b5877d2a17f0206c039cd3f43d696eadb8ffd3982c54d/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f616d69732f636f6e7472696275746f72732e7376673f77696474683d383930)](https://github.com/baidu/amis/graphs/contributors) ## 低代码平台 amis 只能实现前端低代码,如果需要完整的低代码平台推荐使用[爱速搭](https://aisuda.baidu.com/)。 ## About 前端低代码框架,通过 JSON 配置就能生成各种页面。 [baidu.github.io/amis/](https://baidu.github.io/amis/ "https://baidu.github.io/amis/") ### Topics [json](https://github.com/topics/json "Topic: json") [admin](https://github.com/topics/admin "Topic: admin") [frontend](https://github.com/topics/frontend "Topic: frontend") [frontend-framework](https://github.com/topics/frontend-framework "Topic: frontend-framework") [low-code](https://github.com/topics/low-code "Topic: low-code") [no-code](https://github.com/topics/no-code "Topic: no-code") [low-code-development-platform](https://github.com/topics/low-code-development-platform "Topic: low-code-development-platform") [lowcode](https://github.com/topics/lowcode "Topic: lowcode") ### Resources [Readme](https://github.com/baidu/amis#readme-ov-file) ### License [Apache-2.0 license](https://github.com/baidu/amis#Apache-2.0-1-ov-file) ### Uh oh\! There was an error while loading. [Please reload this page](https://github.com/baidu/amis). [Activity](https://github.com/baidu/amis/activity) [Custom properties](https://github.com/baidu/amis/custom-properties) ### Stars [**18\.8k** stars](https://github.com/baidu/amis/stargazers) ### Watchers [**232** watching](https://github.com/baidu/amis/watchers) ### Forks [**2\.7k** forks](https://github.com/baidu/amis/forks) [Report repository](https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fbaidu%2Famis&report=baidu+%28user%29) ## [Releases 104](https://github.com/baidu/amis/releases) [6\.13.0 Latest Aug 12, 2025](https://github.com/baidu/amis/releases/tag/6.13.0) [\+ 103 releases](https://github.com/baidu/amis/releases) ## [Used by 514](https://github.com/baidu/amis/network/dependents) [![@c6ai](https://avatars.githubusercontent.com/u/110556245?s=64&v=4) ![@it188-networkx](https://avatars.githubusercontent.com/u/256076441?s=64&v=4) ![@livehigh](https://avatars.githubusercontent.com/u/25949099?s=64&v=4) ![@wb04307201](https://avatars.githubusercontent.com/u/35208417?s=64&v=4) ![@kequandian](https://avatars.githubusercontent.com/u/44112389?s=64&v=4) ![@lengqingfeng](https://avatars.githubusercontent.com/u/4401182?s=64&v=4) ![@csx-bill](https://avatars.githubusercontent.com/u/31872268?s=64&v=4) ![@ssddi456](https://avatars.githubusercontent.com/u/997812?s=64&v=4) + 506](https://github.com/baidu/amis/network/dependents) ## [Contributors 266](https://github.com/baidu/amis/graphs/contributors) - [![@2betop](https://avatars.githubusercontent.com/u/2698393?s=64&v=4)](https://github.com/2betop) - [![@hsm-lv](https://avatars.githubusercontent.com/u/80095014?s=64&v=4)](https://github.com/hsm-lv) - [![@lurunze1226](https://avatars.githubusercontent.com/u/36724300?s=64&v=4)](https://github.com/lurunze1226) - [![@RickCole21](https://avatars.githubusercontent.com/u/19327810?s=64&v=4)](https://github.com/RickCole21) - [![@qkiroc](https://avatars.githubusercontent.com/u/30946345?s=64&v=4)](https://github.com/qkiroc) - [![@wibetter](https://avatars.githubusercontent.com/u/11958920?s=64&v=4)](https://github.com/wibetter) - [![@allenve](https://avatars.githubusercontent.com/u/21256044?s=64&v=4)](https://github.com/allenve) - [![@igrowp](https://avatars.githubusercontent.com/u/34541195?s=64&v=4)](https://github.com/igrowp) - [![@catchonme](https://avatars.githubusercontent.com/u/29188938?s=64&v=4)](https://github.com/catchonme) - [![@zhangtao07](https://avatars.githubusercontent.com/u/4675923?s=64&v=4)](https://github.com/zhangtao07) - [![@CheshireJCat](https://avatars.githubusercontent.com/u/16409259?s=64&v=4)](https://github.com/CheshireJCat) - [![@sqzhou](https://avatars.githubusercontent.com/u/19909056?s=64&v=4)](https://github.com/sqzhou) - [![@yangwei9012](https://avatars.githubusercontent.com/u/11779489?s=64&v=4)](https://github.com/yangwei9012) - [![@tooeast](https://avatars.githubusercontent.com/u/42135895?s=64&v=4)](https://github.com/tooeast) [\+ 252 contributors](https://github.com/baidu/amis/graphs/contributors) ## Languages - [TypeScript 85.8%](https://github.com/baidu/amis/search?l=typescript) - [SCSS 9.0%](https://github.com/baidu/amis/search?l=scss) - [JavaScript 4.4%](https://github.com/baidu/amis/search?l=javascript) - [XSLT 0.5%](https://github.com/baidu/amis/search?l=xslt) - [CSS 0.1%](https://github.com/baidu/amis/search?l=css) - [Python 0.1%](https://github.com/baidu/amis/search?l=python) - Other 0\.1% ## Footer © 2026 GitHub, Inc. ### Footer navigation - [Terms](https://docs.github.com/site-policy/github-terms/github-terms-of-service) - [Privacy](https://docs.github.com/site-policy/privacy-policies/github-privacy-statement) - [Security](https://github.com/security) - [Status](https://www.githubstatus.com/) - [Community](https://github.community/) - [Docs](https://docs.github.com/) - [Contact](https://support.github.com/?tags=dotcom-footer) - Manage cookies - Do not share my personal information You can’t perform that action at this time.
Readable Markdown
如流群:3395342 \| 如流群2:5511067\| [![build](https://camo.githubusercontent.com/59cc2d87342e9a870934c05eeb6178279e9bcce69c5fdf0254fc14c9f381a782/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62616964752f616d69732f67682d70616765732e796d6c)](https://camo.githubusercontent.com/59cc2d87342e9a870934c05eeb6178279e9bcce69c5fdf0254fc14c9f381a782/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f62616964752f616d69732f67682d70616765732e796d6c) [![license](https://camo.githubusercontent.com/c45288637119e7b3f54a0fe4c02635eb1f2703c52353784c220df25bfd682723/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62616964752f616d69732e737667)](https://camo.githubusercontent.com/c45288637119e7b3f54a0fe4c02635eb1f2703c52353784c220df25bfd682723/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62616964752f616d69732e737667) [![version](https://camo.githubusercontent.com/239f6ff5d007f082002d4dd6576c71f4167f54f8d8995cddc547e19b3cbb1ba8/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f616d6973)](https://camo.githubusercontent.com/239f6ff5d007f082002d4dd6576c71f4167f54f8d8995cddc547e19b3cbb1ba8/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f762f616d6973) [![language](https://camo.githubusercontent.com/1e01f5240e5a2992e4ba2308aa4acd3a3a7d2de7dbc4e242647e228cd26ff433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f62616964752f616d6973)](https://camo.githubusercontent.com/1e01f5240e5a2992e4ba2308aa4acd3a3a7d2de7dbc4e242647e228cd26ff433/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f62616964752f616d6973) [![codecov](https://camo.githubusercontent.com/5f7b9f3c345ef1a73c690e4508f98da13ed681cad28a41e394bbdfc45c65ce98/68747470733a2f2f636f6465636f762e696f2f67682f62616964752f616d69732f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d394c77696d48476f4535)](https://codecov.io/gh/baidu/amis) [![last](https://camo.githubusercontent.com/c3b8e519c2cdeca5f86411222ad252b1fad929b8ed7fde8e8b7427419bd38d9c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f62616964752f616d69732e737667)](https://camo.githubusercontent.com/c3b8e519c2cdeca5f86411222ad252b1fad929b8ed7fde8e8b7427419bd38d9c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f62616964752f616d69732e737667) 前端低代码框架,通过 JSON 配置就能生成各种后台页面,极大减少开发成本,甚至可以不需要了解前端。 开发指南 以下是参与开发 amis 才需要看的,使用请看前面的文档。 > 如果 github 下载慢可以使用 [gitee](https://gitee.com/baidu/amis) 上的镜像。 推荐使用 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 编写,所有合理的改动、新的公用渲染器、用例或者文档的提交都会被接收。 贡献者 [![](https://camo.githubusercontent.com/a6ef7d3593720b00de9b5877d2a17f0206c039cd3f43d696eadb8ffd3982c54d/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f616d69732f636f6e7472696275746f72732e7376673f77696474683d383930)](https://github.com/baidu/amis/graphs/contributors) 低代码平台 amis 只能实现前端低代码,如果需要完整的低代码平台推荐使用[爱速搭](https://aisuda.baidu.com/)。
Shard174 (laksa)
Root Hash6325672905007345774
Unparsed URLcom,github!/baidu/amis s443