In my last article for Torque, I gave an introduction to using the JavaScript framework VueJS with the WordPress REST API. In that post, you learned how to combine the WordPress REST API with VueJS and jQuery AJAX to show and edit single posts. It was also an introduction to the Vue constructor and template syntax. This week, I want to introduce components and some additional data attributes. Components allow for greater code reuse throughout the application. As a practical example, this article will show how to create a post list and a single post component. Since this is VueJS, […]
Introduction To VueJS With The WordPress REST API
I’ve covered using the WordPress REST API with AngularJS in the past for Torque because I like it and have used it quite a bit. However, I have been using Laravel a lot lately, and the Laravel ecosystem has embraced VueJS as the front-end framework. That encouraged me to try it out and I’ve been impressed by its simplicity. My first real experience using VueJS was for the Caldera Forms front-end entry viewer. I had been experimenting with new ways of handling UI and I found VueJS to be the fastest to learn and loved the results. In this article, I’m going […]
1 Comment