Skip to content

Commit d9ba15e

Browse files
committed
Install tw-animate-css as a development dependency
1 parent da0070d commit d9ba15e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/generators/ruby_ui/install/install_generator.rb

+7-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,15 @@ def add_tailwind_config
6262
end
6363
end
6464

65-
def install_tailwind_animate
65+
def install_tw_animate_css
6666
say "Installing tw-animate-css plugin"
6767

68-
install_js_package("tw-animate-css")
68+
package = "tw-animate-css"
69+
if using_yarn?
70+
run "yarn add -D #{package}"
71+
else
72+
run "npm install -D #{package}"
73+
end
6974
end
7075

7176
def add_ruby_ui_base

0 commit comments

Comments
 (0)