lib/install/vue.rb in webpacker-3.0.2 vs lib/install/vue.rb in webpacker-3.1.0
- old
+ new
@@ -1,14 +1,14 @@
require "webpacker/configuration"
-puts "Copying the example entry file to #{Webpacker.config.source_entry_path}"
+say "Copying the example entry file to #{Webpacker.config.source_entry_path}"
copy_file "#{__dir__}/examples/vue/hello_vue.js",
"#{Webpacker.config.source_entry_path}/hello_vue.js"
-puts "Copying Vue app file to #{Webpacker.config.source_entry_path}"
+say "Copying Vue app file to #{Webpacker.config.source_entry_path}"
copy_file "#{__dir__}/examples/vue/app.vue",
"#{Webpacker.config.source_path}/app.vue"
-puts "Installing all Vue dependencies"
+say "Installing all Vue dependencies"
run "yarn add vue vue-loader vue-template-compiler"
-puts "Webpacker now supports Vue.js 🎉"
+say "Webpacker now supports Vue.js 🎉", :green