• This project
    • Loading...
  • Sign in

Hooke / demo-vue-vuex

Itomix
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • demo-vue-vuex
  • src
  • components
  • counter.vue
  • Hooke's avatar
    模块化 · f5677ae4
    f5677ae4
    Hooke authored 2016-10-29 17:50:55 +0800
counter.vue 285 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<template lang="html">
  <div>{{ count }}</div>
</template>

<script>
export default {
  data () {
    return {}
  },
  computed: {
    count () {
      return this.$store.state.count
    }
  },
  mounted () {},
  methods: {},
  components: {}
}
</script>

<style lang="css">
</style>