File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/generators/ruby_ui/install Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,10 @@ def install_stuff
9292
9393 def pin_ruby_ui_js
9494 stimulus_path = Rails . root . join ( "app/javascript/application.js" )
95- package_name = "ruby_ui-js "
95+ package_name = "ruby_ui_js "
9696
9797 say "Add RubyUI Stimulus controllers"
98- # run "mkdir -p app/javascript/controllers/ruby_ui-js "
98+ # run "mkdir -p app/javascript/controllers/ruby_ui_js "
9999 template "index.js" , "app/components/ruby_ui/index.js"
100100
101101 if using_importmap?
@@ -122,7 +122,7 @@ def pin_ruby_ui_js
122122
123123 fix_import_maps!
124124 else
125- say "Add ruby_ui-js package"
125+ say "Add ruby_ui_js package"
126126 run "yarn add #{ package_name } "
127127
128128 append_to_file stimulus_path , "\n import \" ../components/ruby_ui\" ;\n "
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ import { application } from "../../../app/javascript/controllers/application";
66// Register all controllers
77// application.register("ruby-ui--combobox", ComboboxController);
88
9- import RubyUI from "ruby_ui-js ";
9+ import RubyUI from "ruby_ui_js ";
1010RubyUI.initialize(application);
You can’t perform that action at this time.
0 commit comments