Skip to content

Instantly share code, notes, and snippets.

@techlab23
Last active October 16, 2020 05:24
Show Gist options
  • Save techlab23/6ed8bc5b009662fc4cbccbf251c48c2b to your computer and use it in GitHub Desktop.
Save techlab23/6ed8bc5b009662fc4cbccbf251c48c2b to your computer and use it in GitHub Desktop.

Revisions

  1. techlab23 revised this gist Apr 22, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion Sample.vue
    Original file line number Diff line number Diff line change
    @@ -24,7 +24,7 @@ export default {
    computed: {},
    /* Component methods */
    method: {
    methods: {
    },
    /* Vue lifecycle hooks:
  2. techlab23 revised this gist Apr 16, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions Sample.vue
    Original file line number Diff line number Diff line change
    @@ -17,6 +17,8 @@ export default {
    message: 'Thinking in components'
    }
    },
    /* Watchers */
    watch: {},
    /* Computed properties */
    computed: {},
  3. techlab23 revised this gist Apr 16, 2019. 1 changed file with 5 additions and 1 deletion.
    6 changes: 5 additions & 1 deletion Sample.vue
    Original file line number Diff line number Diff line change
    @@ -11,16 +11,20 @@ export default {
    /* Properties */
    props: [],
    /* Component's local data */
    data() {
    return {
    message: 'Thinking in components'
    }
    },
    /* Computed properties */
    computed: {},
    /* Component methods */
    method: {
    },
    /* Vue lifecycle hooks:
    Ref: https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks
    */
    @@ -31,6 +35,6 @@ export default {
    ....
    }
    </script>
    <style>
    <style scoped>
    </style>
  4. techlab23 revised this gist Apr 16, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion Sample.vue
    Original file line number Diff line number Diff line change
    @@ -21,7 +21,9 @@ export default {
    /* Component methods */
    method: {
    },
    /* Vue lifecycle hooks: docs */
    /* Vue lifecycle hooks:
    Ref: https://vuejs.org/v2/guide/instance.html#Instance-Lifecycle-Hooks
    */
    created() {},
    mounted() {},
    updated() {},
  5. techlab23 created this gist Apr 16, 2019.
    34 changes: 34 additions & 0 deletions Sample.vue
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,34 @@
    <template>
    <div>
    <h1> {{ message }} </h1>
    <div
    </template>
    <script>
    export default {
    /* Child component registration */
    components: {},
    /* Properties */
    props: [],
    /* Component's local data */
    data() {
    return {
    message: 'Thinking in components'
    }
    },
    /* Computed properties */
    computed: {},
    /* Component methods */
    method: {
    },
    /* Vue lifecycle hooks: docs */
    created() {},
    mounted() {},
    updated() {},
    destroyed() {}
    ....
    }
    </script>
    <style>
    </style>