We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da0070d commit d9ba15eCopy full SHA for d9ba15e
lib/generators/ruby_ui/install/install_generator.rb
@@ -62,10 +62,15 @@ def add_tailwind_config
62
end
63
64
65
- def install_tailwind_animate
+ def install_tw_animate_css
66
say "Installing tw-animate-css plugin"
67
68
- install_js_package("tw-animate-css")
+ package = "tw-animate-css"
69
+ if using_yarn?
70
+ run "yarn add -D #{package}"
71
+ else
72
+ run "npm install -D #{package}"
73
+ end
74
75
76
def add_ruby_ui_base
0 commit comments