Sha256: cf2e5d0e8006b2015b96daeb99e369b0a277356c4f11279230c59693f9c1cba8

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

run "yarn add vuex"

say "Added 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

2 entries across 2 versions & 2 rubygems

Version Path
vueonrails-0.1.0 lib/generators/options/vuex.rb
vuejs-1.1.0.beta9 lib/generators/options/vuex.rb