lib/generators/generator_templates/packs/index.vue in vueonrails-0.2.0 vs lib/generators/generator_templates/packs/index.vue in vueonrails-0.3.0
- old
+ new
@@ -1,12 +1,11 @@
-<!-- Generated by Vue on Rails http://github.com/vueonrails/vueonrails -->
+<!-- Generated by Vue on Rails https://github.com/vueonrails/vueonrails -->
<!-- The corresponding pack is app/javascript/packs/<%= name %>.js -->
<!-- Generate a component part with separation of concern by running command `rails generate vue something --seperate` -->
<template>
<div id="<%= name %>">
<p>{{ message }}</p>
- <!-- <button @click="onClick">click this</button> -->
</div>
</template>
<script src="./<%= name %>.js"></script>
<style scoped src="./<%= name %>.css"></style>