I really love vue.js! It’s a great framework and real alternative to react.
So, javascript framework for my Evendy project was selected, and I have no choice.
You can find full source code of project at my frontend repository.
First of all - just specify url and default headers:
Our App.vue:
And Events.vue component:
Very simple steps here, just called HTTP GET request to the /events endpoint.
Our server response:
After that, we can create loop over our json data, and just render blocks as usual.
Thats it :)