Last active
November 1, 2016 12:32
-
-
Save Akryum/315b5db5f4d5f21f1d036380405efa7e to your computer and use it in GitHub Desktop.
Initialize data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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