say "Adding Vuex & Vuex Rails Plugins to Vue on Rails" run "yarn add vuex vuex-rails-plugins" insert_into_file "#{PACKS_PATH}/#{name}.js" , "import Vuex from 'vuex'", after: "import Vue from 'vue'\n" insert_into_file "#{PACKS_PATH}/#{name}.js", "Vue.use(Vuex)\n", before: "document.addEventListener"