Skip to content

tbarnes/rails-viewcomponent

Repository files navigation

view-component-demo

Rails application with ViewComponent, using the https://github.com/github/view_component gem.

Ruby version

Use your favorite Ruby version manager to install 3.0.0.

Local development

Install Postgres as desired.

Configuration

bundle install npm install

Database creation

rails db:setup

How to run the test suite

bundle exec rake

Server

rails s

Benchmark

Run server in production mode: RAILS_ENV=production rails s.

Load /benchmark and read server log.

About

Trying out viewcomponents for rails

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published