A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
Перейти к файлу
Simon Fish e8bc4ef344
Make GlobalConfig a proxy for Rails app config or ViewComponent base config as necessary
2024-10-08 17:00:14 +01:00
.devcontainer Set up Codespaces for bug replication (#1200) 2021-12-14 19:56:38 +00:00
.github use latest upload/download actions (#2088) 2024-09-04 16:34:29 -06:00
app Ensure Rails.application is defined, use in preview source feature 2024-10-08 13:53:06 +01:00
docs update changelog 2024-10-08 16:59:27 +01:00
gemfiles Add support for rendering turbo stream tags (#1227) 2024-08-20 14:07:12 -06:00
lib Make GlobalConfig a proxy for Rails app config or ViewComponent base config as necessary 2024-10-08 17:00:14 +01:00
performance Fix inline component throws error with strip_trailing_whitespace (#2015) 2024-04-23 23:49:49 +00:00
script Move ViewComponent to separate GitHub organization (#1496) 2022-08-31 11:35:09 -06:00
spec Make it easier to run coverage reports locally (#1750) 2023-05-23 09:24:40 -06:00
test Make GlobalConfig a proxy for Rails app config or ViewComponent base config as necessary 2024-10-08 17:00:14 +01:00
.erb-lint.yml add ERBLint to enforce a few basic rules (#994) 2021-07-01 10:35:29 -06:00
.gitignore Clean up console warnings when running tests (#1933) 2023-12-15 16:13:24 -07:00
.rspec Add support for RSpec to previews as test cases (#1408) 2022-07-18 10:31:58 -06:00
.rubocop.yml Ensure HTML output safety (#1950) 2024-01-04 11:25:54 -08:00
.standard.yml run rubocop against markdown (#1699) 2023-03-31 14:23:56 -06:00
.tool-versions Add support for ruby3.3 (#1948) 2024-01-02 10:59:00 -07:00
.vale.ini Add file consistency linters (#1206) 2021-12-14 11:39:00 -07:00
.yardopts Dynamically generate configuration docs using YARD (#968) 2021-06-17 12:36:31 -06:00
Appraisals Add support for rendering turbo stream tags (#1227) 2024-08-20 14:07:12 -06:00
CHANGELOG.md Link to instead of symlink (#1517) 2022-09-14 10:00:42 -06:00
CNAME Add file consistency linters (#1206) 2021-12-14 11:39:00 -07:00
CODE_OF_CONDUCT.md Move root docs into site, add symlinks (#972) 2021-06-17 15:26:00 -06:00
CONTRIBUTING.md Move root docs into site, add symlinks (#972) 2021-06-17 15:26:00 -06:00
Gemfile set default ruby version (#2075) 2024-08-20 14:46:20 -06:00
Gemfile.lock resolve ruby warnings in dev (#2120) 2024-10-04 16:13:27 -06:00
LICENSE.txt Update gemspec (#1472) 2022-08-15 16:38:26 -06:00
README.md Revert "Update logo code in README (#1475)" (#1480) 2022-08-18 14:31:10 -06:00
Rakefile Ensure Rails.application is defined, use in preview source feature 2024-10-08 13:53:06 +01:00
SECURITY.md Create SECURITY.md (#1748) 2023-05-10 11:58:52 +02:00
view_component.gemspec resolve ruby warnings in dev (#2120) 2024-10-04 16:13:27 -06:00

README.md

ViewComponent logo ViewComponent logo

A framework for building reusable, testable & encapsulated view components in Ruby on Rails.

Documentation

See viewcomponent.org for documentation.

Contributing

This project is intended to be a safe, welcoming space for collaboration. Contributors are expected to adhere to the Contributor Covenant code of conduct. We recommend reading the contributing guide as well.

License

ViewComponent is available as open source under the terms of the MIT License.