File: USAGE

package info (click to toggle)
ruby-stimulus-rails 1.3.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: javascript: 2,665; ruby: 112; makefile: 6
file content (15 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description:
============
    Generates a new Stimulus controller at the passed path. If running under node,
    it'll also call the stimulus:manifest:update task to update the controllers/index.js.

Examples:
=========
    bin/rails generate stimulus chat

    creates: app/javascript/controllers/chat_controller.js


    bin/rails generate stimulus nested/chat

    creates: app/javascript/controllers/nested/chat_controller.js