lib/generators/generator_templates/packs/index.vue in vuejs-1.1.0.beta3 vs lib/generators/generator_templates/packs/index.vue in vuejs-1.1.0.beta4
- old
+ new
@@ -1,8 +1,12 @@
+<!-- Generated by vuejs gem ~> github.com/ytbryan/vuejs -->
+<!-- To generate another of this component part,
+Please run `rails generate vue something --seperate` -->
+
<template>
- <div id="app">
+ <div id="<%= name %>">
<p>{{ message }}</p>
- <button @click="onClick">click this</button>
+ <!-- <button @click="onClick">click this</button> -->
</div>
</template>
<script src="./<%= name %>.js"></script>
<style scoped src="./<%= name %>.css"></style>