Sha256: 0fa20829496755d016c6db33cf43eb4b0315af3c417d3b200a5ba591db6db84c
Contents?: true
Size: 730 Bytes
Versions: 3
Compression:
Stored size: 730 Bytes
Contents
# encoding: UTF-8 require "webpacker/configuration" current_dir = File.dirname(__FILE__) puts "Copying vue loader to config/webpack/loaders" copy_file "#{current_dir}/config/loaders/installers/vue.js", "config/webpack/loaders/vue.js" puts "Copying the example entry file to #{Webpacker::Configuration.entry_path}" copy_file "#{current_dir}/examples/vue/hello_vue.js", "#{Webpacker::Configuration.entry_path}/hello_vue.js" puts "Copying vue app file to #{Webpacker::Configuration.entry_path}" copy_file "#{current_dir}/examples/vue/app.vue", "#{Webpacker::Configuration.entry_path}/app.vue" puts "Installing all vue dependencies" run "yarn add vue vue-loader vue-template-compiler" puts "Webpacker now supports vue.js 🎉"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
webpacker-legacy-0.1.2 | lib/install/vue.rb |
webpacker-legacy-0.1.1 | lib/install/vue.rb |
webpacker-legacy-0.1.0 | lib/install/vue.rb |