twbs/ratchet hiện có 14.7k sao trên GitHub, viết chủ yếu bằng CSS. Build mobile apps with simple HTML, CSS, and JavaScript components.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Build mobile apps with simple HTML, CSS, and JS components.
Table of contents
Getting started
Documentation
Support
Contributing
Troubleshooting
Versioning
Maintainers
License
Getting started
Clone the repo with git clone https://github.com/twbs/ratchet.git or just download the bundled CSS and JS
Read the docs to learn about the components and how to get a prototype on your phone
Check out examples
Take note that our master branch is our active, unstable development branch and that if you're looking to download a stable copy of the repo, check the tagged downloads.
What's included
Within the download you'll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You'll see something like this:
We provide compiled CSS and JS (ratchet.*), as well as compiled and minified CSS and JS (ratchet.min.*). The Ratchicon fonts are included, as are the optional Android and iOS platform themes.
Documentation
Ratchet's documentation is built with Jekyll and publicly hosted on GitHub Pages at http://goratchet.com. The docs may also be run locally.
Running documentation locally
If necessary, install Jekyll (requires v3.0.x).
Windows users: Read this unofficial guide to get Jekyll up and running without problems.
Install the Ruby-based syntax highlighter, Rouge, with gem install rouge.
From the root /ratchet directory, run jekyll serve in the command line.
Open http://localhost:4000 in your browser, and boom!
Learn more about using Jekyll by reading its documentation.
Documentation for previous releases
Documentation for v1.0.2 has been made available for the time being at http://goratchet.com/1.0.2/ while folks transition to Ratchet 2.
Previous releases and their documentation are also available for download.
Support
Questions or discussions about Ratchet should happen in the Google group or hit us up on Twitter @GoRatchet.
Contributing
Please file a GitHub issue to report a bug. When reporting a bug, be sure to follow the contributor guidelines.
Troubleshooting
A small list of "gotchas" is provided below for designers and developers starting to work with Ratchet.
Ratchet is designed to respond to touch events from a mobile device. In order to use mouse click events (for desktop browsing and testing), you have a few options:
Enable touch event emulation in Chrome (found in the overrides tab in the web inspector preferences)
Use a JavaScript library like fingerblast.js to emulate touch events (ideally only loaded from desktop devices)
Script tags containing JavaScript will not be executed on pages that are loaded with push.js. If you would like to attach event handlers to elements on other pages, document-level event delegation is a common solution.
Ratchet uses XHR requests to fetch additional pages inside the application. Due to security concerns, modern browsers prevent XHR requests when opening files locally (aka using the file:// protocol); consequently, Ratchet does not work when opened directly as a file.
A common solution to this is to simply serve the files from a local server. One convenient way to achieve this is to run python -m SimpleHTTPServer <port> to serve up the files in the current directory to http://localhost:<port>
Versioning
For transparency into our release cycle and in striving to maintain backward compatibility, Ratchet is maintained under the Semantic Versioning guidelines. Sometimes we screw up, but we'll adhere to these rules whenever possible.
Releases will be numbered with the following format:
<major>.<minor>.<patch>
And constructed with the following guidelines:
Breaking backward compatibility bumps the major while resetting minor and patch
New additions without breaking backward compatibility bumps the minor while resetting the patch
Bug fixes and misc changes bumps only the patch
For more information on SemVer, please visit http://semver.org/.
Maintainers
Connor Sears
https://twitter.com/connors
https://github.com/connors
Created by Connor Sears, Dave Gamache, and Jacob Thornton.
twbs/ratchet thuộc nhóm Frontend trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về twbs/ratchet ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/twbs/ratchet là nguồn chính thức.
twbs/ratchet có bao nhiêu sao?
twbs/ratchet có 14.7k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/twbs/ratchet. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
twbs/ratchet có phải mã nguồn mở không?
Có — twbs/ratchet phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/twbs/ratchet.
twbs/ratchet có trang demo không?
Dự án có trang chủ ở http://goratchet.com. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
twbs/ratchet là gì?
twbs/ratchet (twbs/ratchet) là dự án CSS trên GitHub. Theo mô tả gốc: Build mobile apps with simple HTML, CSS, and JavaScript components.
twbs/ratchet so với các dự án Frontend khác thế nào?
twbs/ratchet được TopGit xếp vào nhóm Frontend, với 14.7k sao GitHub và viết bằng CSS. Xem trang chủ đề Frontend trên TopGit để so sánh với các dự án tương tự theo số sao và mức độ hoạt động.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc ratchet có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về ratchet.