If you're working with Nuxt, you're probably using the asyncData method to fetch content before rendering it. Nuxt 2.12 introduces a new and improved fetch method that works like asyncData, but with some awesome additions. Let's dive in and see fetch in action.
A quick course on building a super flexible dropdown menu with Vue, focusing on how to achieve ultimate customisation using slots and slot props.
Missing state management in Alpine.js? Meet Spruce, a lightweight state management layer for Alpine.js that makes managing state between components a breeze. Core Alpine.js team member and Spruce author, Ryan Chandler, walks us through using it.
Just for fun, let's build a simple RSS reader with Alpine.js that fetches and renders entries from a list of your chosen RSS publications.
You've got Sanctum up and running for authentication, but it's cookie based, so making requests to your API with Postman is a little more complicated. This snippet shows you how.
With Vue 3 comes a brand new way to define component logic. This function-based API gives you everything you're used to, but allows for more flexibility and better code and project organisation. This course covers everything you need to know.
A roundup of what's new in Vue 3, including a dive into the Composition API and plenty of practical examples.
Let's recreate Twitter with Laravel! Completely from scratch, we'll use Laravel and Vue to build out a Twitter Clone with as many features as we can. Includes a timeline, notifications, media uploads, hashtags, mentions, granular search and much more. To top it off, everything is updated in true realtime.
Give users the ability to issue GitHub style personal access tokens within your app, which can be used to authenticate with your API. We'll also be attaching abilities (permissions) to tokens and creating a clean way to check these in your API controllers.
Get Laravel Sanctum (formerly known as Airlock) installed, configured and have authentication up and running with Nuxt using the Nuxt Auth module.
As your app starts to grow, events and listeners come to the rescue. They keep your controllers clean, your files organised and make testing much easier. In this course, we'll implement the Symfony EventDispatcher component into Slim 4, then refactor our solution so you spend less time registering events and listeners, and more time writing code.
All the core functionality you'll need to implement referrals in your Laravel app. When you're done, just hook in what happens when a referral is successful.
In some cases, autosizing a textarea height as a user types makes sense. Here's how to do it with Vue.
A low level overview of how middleware runs in your favourite framework. Starting with a simple app example, we'll build a middleware manager, add middleware to a stack, and run it.
A validator featuring rule objects, string rule mapping, wildcard validation and more. All built completely from scratch with zero dependencies.
Create clean, reusable authorization rules in your Slim app and use them anywhere you need to authorize a user action. Inspired by Laravel, implemented in Slim.