Adding a Sitemap Using Nuxt Content
Here is how to add a sitemap to your Nuxt project when using the content module.
Read more…
Adding Pagination to a Nuxt Blog
As your blog grows it will more than likely become necessary to paginate the listing page of articles. This post explains one way this can be achieved.
Read more…
Adding Social Media & SEO Meta Data Using Nuxt Content
Here is how to add social media and SEO meta data to your Nuxt project when using the content module.
Read more…
Adding Tailwind To a VueJS Project
Simple instructions for setting up Tailwind CSS in your VueJS projects.
Read more…
Authenticate Users Using Firebase & VueJS
In this tutorial we will work through building a simple VueJS app. It will use Firebase for authentication and allow users to sign-up and sign-in.
Read more…
Authentication Using Laravel Sanctum & Fortify for an SPA
How to set up full authentication using Laravel Sanctum & Fortify in a Vue SPA. Laravel API article
Read more…
Authentication in a Vue SPA with Laravel Sanctum & Fortify
How to set up full authentication using Laravel Sanctum & Fortify in a Vue SPA. Vue SPA Article
Read more…
Create a Base Input Form Element Vue 3
Let’s take a look at how `v-model` has changed in Vue 3 and build a reusable BaseInput text field.
Read more…
Basic Module Pattern JavaScript
Wrap your code in an immediately invoked function expression (IFFE). It runs immediately when you create it and has no name.
Read more…
Email Verification Using Firebase & VueJS
This tutorial walks through adding email verification to the simple VueJS Firebase app we have been building.
Read more…
Factory Function To Create An Object In JavaScript
Use a constructor function that returns an object. You can then create multiple people passing in the first and last name arguments the `createPerson` function.
Read more…
Forgot Password Using Firebase & VueJS
This tutorial walks through adding a forgot password page to the simple VueJS Firebase app we have been building.
Read more…
JavaScript Async Await
Working with JavaScript Promises you have a couple of approaches to consider for interacting with the response. The Promise doesn’t give you the response in the exact format you can work with, let's dive in and explore things.
Read more…
JavaScript Objects
JavaScript objects are used everywhere. It's an important concept to understand right from the beginning.
Read more…
JavaScript Promises
JavaScript Promises are used in most modern web applications where we need to do some work that takes some time to complete. A popular example of this is fetching data from an API, where the result is needed to be displayed in your app.
Read more…
JavaScript typeof Number
Often you will need to check that you have a number before using it in your JavaScript, here's how.
Read more…
Lambda Expressions vs Anonymous Functions
When learning a functional programming style you will often come across the term Lambda Expressions or Lambda Functions. In simple terms they are just functions that can be used as data and therefore declared as a value. Let's explore a few examples.
Read more…
Laravel Testing Using GitHub Actions With MYSQL
Using GitHub actions for automating your Laravel tests is fairly straight forward, given the starter workflow they provide.
Read more…
Laravel Valet Installing PHPRedis with PECL/Homebrew
This post was written 3/2/2020 and explains how I got Redis working using Laravel Valet.
Read more…
How to Manage User State With Vuex and Firebase
This tutorial walks through adding Vuex to a simple VueJS Firebase app. We use Vuex to manage the logged in user state and display protected content.
Read more…
Managing Redis Locally For Laravel Projects
I recently found a neat app for managing your local databases from the makers of TablePlus. Read a short review of it.
Read more…
Passing Arguments in Javascript
You can pass arguments into functions to be used within the function. These arguments can be any JavaScript data type including functions.
Read more…
Radio Buttons VueJS
Here is a quick example how to add radio buttons on a form managed by VueJS.
Read more…
Learn About React createElement
Lets break down how React's createElement method works in it's simplest form.
Read more…
Learn About React useState Hook
Lets break down how React's useState hook works in it's simplest form.
Read more…
Switching to Laravel Sail
A quick write up for using Laravel Sail, with a solution to the set-up errors you can run into.
Read more…
Understanding Closures In JavaScript
This example shows how you create a closure in JavaScript it uses an alert function that can be incremented and reused/passed around.
Read more…
Update A User Profile In Laravel
If you need to update other fields along with a unique field then you need to tell the unique rule to ignore the user's ID.
Read more…
Using Getters & Setters Vuex
A short article on using the getter and setter pattern to update data held in a Vuex store.
Read more…
Using JavaScript To Access URL Segments
Whilst working on a recent project, I wanted an accordion navigation to remain open depending on what the category segment in the url was displaying.
Read more…
VueJS Auth Using Laravel Sanctum
How to set up basic authentication using Laravel Sanctum in a VueJs SPA.
Read more…