Skip to content

Instantly share code, notes, and snippets.

@Akryum
Last active November 1, 2016 12:32
Show Gist options
  • Save Akryum/315b5db5f4d5f21f1d036380405efa7e to your computer and use it in GitHub Desktop.
Save Akryum/315b5db5f4d5f21f1d036380405efa7e to your computer and use it in GitHub Desktop.
Initialize data
// Local state
data: () => ({
// You can initialize the 'posts' data here
posts: [],
loading: 0,
}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment