importmap-view-component-stimulus

(★ 14)

Example to replicate "Rails 7 View Component Stimulus" problem

File Explorer

  • .gitattributes
  • .gitignore
  • .ruby-version
  • config.ru
  • Gemfile
  • Gemfile.lock
  • Procfile.dev
  • Rakefile
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

bundle

View Details ▼

Dependency manager for the Ruby programming language.

bundle install

Install all gems defined in the `Gemfile` expected in the working directory:

bundle exec {{command}} {{arguments}}

Execute a command in the context of the current bundle:

bundle update

Update all gems by the rules defined in the `Gemfile` and regenerate `Gemfile.lock`:

🔍

rails new

View Details ▼

Create a new Rails application.

rails new blog

Create a Rails app named `blog` in the current directory:

rails new {{app_name}} --api

Create a Rails app with API-only configuration:

rails new {{app_name}} {{[-d|--database]}} postgresql

Create a Rails app with `postgresql` as the database:

// repository documentation