Sha256: 2cbc3bcaf3f92ceefedf717cf735cf1a246d3d25da535e50bb1f69c0831a3544
Contents?: true
Size: 718 Bytes
Versions: 3
Compression:
Stored size: 718 Bytes
Contents
Description: Vue generator generates a vue component in Rails project. Example: rails generate vue <component> This will create: app/javascript/component/component.vue Here's an example of component.vue rails g vue <component> --seperated rails g vue <component> -s This will create: app/javascript/component/component.vue app/javascript/component/component.css app/javascript/component/component.js rails g vue <component> --no-prop This will remove prop property in Vue element rails g vue <component> --no-data This will remove data property in Vue element rails g vue <component> --erb This will integrate with erb on rails
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vuejs-1.1.0.beta1 | lib/generators/vue/USAGE |
vuejs-1.0.39 | lib/generators/vue/USAGE |
vuejs-1.0.38 | lib/generators/vue/USAGE |