Skip to content

Instantly share code, notes, and snippets.

@rajatk16
Created July 11, 2018 11:48
Show Gist options
  • Save rajatk16/233bb56697d614023d45e2035db1d519 to your computer and use it in GitHub Desktop.
Save rajatk16/233bb56697d614023d45e2035db1d519 to your computer and use it in GitHub Desktop.
<template>
<view>
<nb-list>
<item v-for="(itemType, types) in items" :data="itemType" />
</nb-list>
<view/>
</template>
<script>
import store from "../../store";
export default {
computed: {
computed: {
items () {
return store.state.posts;
},
},
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment