Sha256: 59f61d2a0ad4e1d043b30cb8768616c6d25d85f091e2634609bb9623cf2765d1

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

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"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vuejs-1.1.0.beta8 lib/install/vuex.rb
vuejs-1.1.0.beta7 lib/install/vuex.rb
vuejs-1.1.0.beta6 lib/install/vuex.rb
vuejs-1.1.0.beta5 lib/install/vuex.rb
vuejs-1.1.0.beta4 lib/install/vuex.rb