At some point when building applications you will need to begin thinking about how to manage state. Vue provides a simple way to work with local state inside a component. Below is an example of loading some data from an api and setting it on the local state variable projects: import axios from 'axios'export default { name: 'projects', data: function () { return { projects: [] } }, methods: { loadP
![Vue + Vuex — Getting started](https://cdn-ak-scissors.b.st-hatena.com/image/square/9c427126208899e0937c1534a454dd28bb95e127/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A701%2F1%2Avmhxmp5jRp-4Rtfh3skrgQ.png)