Sha256: 59e800d835bb0b953ce2f5d5328105ea0e79808a0ea3aeb2abfa2b0583b9b780
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
// Generated by Vue on Rails https://github.com/vueonrails/vueonrails // To embed this component in Rails view, use <%= render_vue_component "component.js" %> // To generate this component, run `rails generate vue something --ssr` console.log("Hello, <%= name %>") const Vue = require("vue") const renderVue = require("hypernova-vue").renderVue const component = Vue.extend({ template: '<h1>hello, <%= name %></h1>' }) module.exports = renderVue("<%= name %>.js", component)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vueonrails-1.0.0.beta5 | lib/generators/templates/ssr/component.js.erb |