{"id":15295829,"url":"https://github.com/r-ui/rui","last_synced_at":"2026-03-05T20:48:59.707Z","repository":{"id":57278713,"uuid":"54654185","full_name":"r-ui/rui","owner":"r-ui","description":"Web 前端 UI 框架","archived":false,"fork":false,"pushed_at":"2019-04-17T05:51:40.000Z","size":2210,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-11T05:40:12.278Z","etag":null,"topics":["bootstrap","bootstrap3","bootstrap4","css","css3","javascript","rui"],"latest_commit_sha":null,"homepage":"https://r-ui.github.io/rui/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/r-ui.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-24T15:46:50.000Z","updated_at":"2021-12-09T02:04:06.000Z","dependencies_parsed_at":"2022-09-09T14:02:03.773Z","dependency_job_id":null,"html_url":"https://github.com/r-ui/rui","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-ui%2Frui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-ui%2Frui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-ui%2Frui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r-ui%2Frui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r-ui","download_url":"https://codeload.github.com/r-ui/rui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248760634,"owners_count":21157398,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","bootstrap3","bootstrap4","css","css3","javascript","rui"],"created_at":"2024-09-30T18:08:19.696Z","updated_at":"2026-03-05T20:48:54.665Z","avatar_url":"https://github.com/r-ui.png","language":"HTML","funding_links":[],"categories":["UI Components"],"sub_categories":["Tradition"],"readme":"RUI 是一套基础样式库\n\n\n\n# 执行任务\n\n```\n$ gulp watch\n```\n\n\n# 文档预览\n\n1. 克隆RUI\n2. 切换到 gh-pages 分支\n\n```bash\n$ git clone https://github.com/r-ui/rui.git\n$ git checkout gh-pages\n```\n\n\n\n\n# 使用\n\nJS 中引入模块。未上传npm，目前不能使用，如果使用，使用方法\n\n1. `$ git clone URL` 进入`cd rui` 。\n2. 运行命令 `npm link` 添加软链，就相当于全局安装`rui`。\n3. 进入要使用的项目 `npm link rui` 在该项目中进行添加软链，此时可以在项目中引用。\n\n```js\nvar rui = require('rui'),\n    stylus    = require('stylus');\n\nfunction compile(str) {\n  return stylus(str)\n    .use(rui());\n}\n```\n\nStylus 中使用\n\n```stylus\n@import 'rui/variables'\n@import 'rui/mixins'\n@import 'rui/alerts'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-ui%2Frui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr-ui%2Frui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr-ui%2Frui/lists"}