lib/flame/generators/vite_generator.rb in flamerb-0.1.2 vs lib/flame/generators/vite_generator.rb in flamerb-0.1.3
- old
+ new
@@ -1,10 +1,8 @@
require_relative "base"
module Flame
class ViteGenerator < Generators::Base
- source_root File.expand_path("../../../templates", __dir__)
-
def install
run("rm -rf ./package.lock")
run("yarn init -y")
run("bundle exec vite install")