view_component-contrib icon indicating copy to clipboard operation
view_component-contrib copied to clipboard

A collection of extension and developer tools for ViewComponent

Results 7 view_component-contrib issues
Sort by recently updated
recently updated
newest added

## What is the purpose of this pull request? Add ability to create a separate preview template per example (e.g. `my_component/previews/example.html.erb`). ## Checklist - [x] I've added tests for this...

## What did you do? Created a Rails app using the template. ## What did you expect to happen? I should have been asked if I used Stimulus, and the...

enhancement

### Discussed in https://github.com/palkan/view_component-contrib/discussions/24 Originally posted by **dhnaranjo** September 23, 2022 Hello! So I'm trying to do the following: - keeping Preview files in `app/components/component_name` - building previewed objects using...

enhancement

## What is the purpose of this pull request? Closes #35 ## Checklist - [ ] I've added tests for this change - [ ] I've added a Changelog entry...

## What did you do? Ran `rails app:template LOCATION="https://railsbytes.com/script/zJosO5"`. ## What did you expect to happen? For it to install the default component files so it can correctly generate `rails...

question

## What did you do? ``` #20 [stage-1 11/11] RUN RAILS_ENV=staging bundle exec rake assets:precompile ``` ## What did you expect to happen? Generated assets ## What actually happened? ```...

question

## What did you do? Followed the blog post -- almost verbatim I'd say ## What did you expect to happen? Not this for sure 😃 ## What actually happened?...

documentation