importmap-view-component-stimulus
Example to replicate "Rails 7 View Component Stimulus" problem
파일 탐색기
- .keep
- manifest.js
- .keep
- application.css
- application.tailwind.css
- channel.rb
- connection.rb
- .keep
- application_controller.rb
- pages_controller.rb
- example_component.html.erb
- example_component.rb
- example_component_controller.js
- application_helper.rb
- pages_helper.rb
- application.js
- hello_controller.js
- index.js
- application.js
- application_job.rb
- application_mailer.rb
- .keep
- application_record.rb
- application.html.erb
- mailer.html.erb
- mailer.text.erb
- home.html.erb
- bundle
- dev
- importmap
- rails
- rake
- setup
- development.rb
- production.rb
- test.rb
- assets.rb
- content_security_policy.rb
- filter_parameter_logging.rb
- inflections.rb
- permissions_policy.rb
- en.yml
- application.rb
- boot.rb
- cable.yml
- credentials.yml.enc
- database.yml
- environment.rb
- importmap.rb
- puma.rb
- routes.rb
- storage.yml
- tailwind.config.js
- seeds.rb
- fails.png
- fails2.png
- fails3.png
- works.png
- .keep
- .keep
- .keep
- 404.html
- 422.html
- 500.html
- apple-touch-icon-precomposed.png
- apple-touch-icon.png
- favicon.ico
- robots.txt
- .keep
- connection_test.rb
- example_component_test.rb
- .keep
- pages_controller_test.rb
- .keep
- .keep
- .keep
- .keep
- .keep
- .keep
- application_system_test_case.rb
- test_helper.rb
- .keep
- .keep
- .keep
- .keep
- .keep
- .gitattributes
- .gitignore
- .ruby-version
- config.ru
- Gemfile
- Gemfile.lock
- Procfile.dev
- Rakefile
- README.md
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
링크
예시
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
bundle
설명 보기 ▼
bundle
Ruby 프로그래밍 언어의 종속성 관리자.
더 많은 정보: <https://bundler.io/man/bundle.1.html>.
bundle install
작업 디렉토리에 있는 `Gemfile`에 정의된 모든 gem을 설치:
bundle exec {{command}} {{arguments}}
현재 번들의 컨텍스트에서 명령을 실행:
bundle update
`Gemfile` 에 정의된 규칙에 따라 모든 gem을 업데이트 하고 `Gemfile.lock`을 재생성:
rails new
설명 보기 ▼
rails new
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
Was this content helpful?
(0 ratings)
