Quality tutorials & resources. No BS._

Page 3

Beginning Vuex 4 with Vue 3
Author Dan Pastori avatar
Dan Pastori September 6th, 2021

Vuex is one of the most useful plugins in the entire VueJS ecosystem. I honestly include Vuex in every app whether it’s an SPA or Monolith. Using Vuex modules allows me to divide up large, dynamic and complex pages or components into maintainable, reusable, scoped components without having to pass a million props.

I’ve written a few times about Vuex modules on Server Side Up, with Using Vuex Modules Inside Components and Build a Vuex Module. Both I believe are good examples of what you can do with Vuex, I think it only scratches the surface of what Vuex is capable of. The scope of this tutorial is to introduce Vuex in a generic fashion and explain how you can fit it into your project.

Let’s dive in!

Keep Reading →
Break between articles
Basic GET Requests with Fetch API and VueJS Part 1 of 4 in Using Fetch API with VueJS
Author Dan Pastori avatar
Dan Pastori November 17th, 2020

The best way to learn something or solve a problem is to break it down into the smallest pieces. While transitioning from Axios to the Fetch API and integrating it into my VueJS application, I had to start small. I actually wrote both requests side by side so I could migrate in pieces and ensure the integrity of the app. In this tutorial, we are going to be making some basic GET requests using Fetch and comparing those requests to Axios.

Keep Reading →
Break between articles
Build an API Wrapper with VueJS & Axios Part 4 of 4 in Your Guide to Using an API with VueJS/NuxtJS and Axios
Author Dan Pastori avatar
Dan Pastori November 16th, 2020

Creating an API wrapper using VueJS & Axios makes your API interfacing code extremely fluid, modular, and maintainable. Before we get started, those using NuxtJS should skip to the next tutorial. This will tutorial will ONLY work with VueJS and not within NuxtJS.

With that being said, so far we’ve installed Axios and got it to work with VueJS and configured Axios to work globally. We’ve also went through a few more complex requests like POST, PUT, & PATCH. In this tutorial we will abstract all of our API requests into wrapper modules. Before we get started, let’s begin with why.

Keep Reading →
Break between articles Break between articles
Packaging a NuxtJS app for iOS and Android with CapacitorJS Part 2 of 4 in Build an iOS & Android App with CapacitorJS + NuxtJS + TailwindCSS
Author Dan Pastori avatar
Dan Pastori August 16th, 2020

This is really where the magic happens! The way to get a NuxtJS application packaged and deployed to a mobile app store is with CapacitorJS. CapacitorJS allows you to package web code, access native phone hardware, and deploy that code to both iOS and Android app stores. You could do similar functionality with Adobe Phonegap. […]

Keep Reading →
Break between articles