lib/generators/vue/vue_generator.rb in vueonrails-0.3.0 vs lib/generators/vue/vue_generator.rb in vueonrails-1.0.0.beta1
- old
+ new
@@ -3,10 +3,10 @@
class VueGenerator < Rails::Generators::NamedBase
PACKS_PATH = "app/javascript/packs"
PARTS_PATH = "app/javascript/parts"
TESTS_PATH = "app/javascript/tests"
- source_root File.expand_path('../../generator_templates', __FILE__)
+ source_root File.expand_path('../../templates', __FILE__)
argument :name, type: :string, default: nil
OPTIONS = {
test: {type: :boolean, default: false},