Sha256: 272db2cc35a1b2eaf1b5ffbc34cdad514dc2174b92429e61f5801e7419d38eea

Contents?: true

Size: 229 Bytes

Versions: 6

Compression:

Stored size: 229 Bytes

Contents

run "yarn add vuex"

insert_into_file "#{PACKS_PATH}/#{name}.js" ,
"import Vuex from 'vuex'\n",
after: "import Vue from 'vue'\n"

insert_into_file "#{PACKS_PATH}/#{name}.js",
"Vue.use(Vuex)\n",
before: "document.addEventListener"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
vueonrails-1.0.0.beta5 lib/generators/options/vuex.rb
vueonrails-1.0.0.beta3 lib/generators/options/vuex.rb
vueonrails-1.0.0.beta2 lib/generators/options/vuex.rb
vueonrails-1.0.0.beta1 lib/generators/options/vuex.rb
vueonrails-0.3.0 lib/generators/options/vuex.rb
vueonrails-0.2.0 lib/generators/options/vuex.rb