vue

Setting up Supabase Auth with Nuxt v3

Setting up Supabase Auth with Nuxt v3

Implementing authentication is something that you do on most projects, but still something that you may not remember how to do by memory because of how often you actually do it. Here is a quick how-to about implementing Supabase Auth with Nuxt v3. In this example, we will be using OTP, but it applies to every case. You will first want to start your project by going to Supabase's website. After creating a project in Supabase and starting your project on Nuxt, we want to then install the Supabase Nuxt package by doing: npx nuxi@latest module add supabase We will…
Read More
Mastering Scoped CSS in Vue: Deep Selectors, Slotted Content, Global Styles, and More

Mastering Scoped CSS in Vue: Deep Selectors, Slotted Content, Global Styles, and More

Learn how to effectively style your Vue components using scoped CSS features like deep selectors, slotted selectors, global styles, CSS modules, and dynamic v-bind() in both Vue 2 and Vue 3. 1. Deep Selectors Vue 2: Options API <template> <div class="parent"> <div class="child">Styled via Deep Selector</div> </div> </template> <style scoped> .parent { background-color: lightgrey; padding: 20px; } /* Deep selector for child elements */ >>> .child { color: blue; } </style> Enter fullscreen mode Exit fullscreen mode Vue 3: Composition API <template> <div class="parent"> <div class="child">Styled via Deep Selector</div> </div> </template> <style scoped> .parent { background-color: lightgrey; padding: 20px; }…
Read More
How to Build a Real-time Chat App with Laravel, Vue.js, and Pusher

How to Build a Real-time Chat App with Laravel, Vue.js, and Pusher

Real-time chat applications like WhatsApp and Discord have witnessed a remarkable surge in popularity in recent years, revolutionising communication with instantaneous messaging. However, while building your own chat app with this functionality might seem daunting, it’s entirely achievable. In this tutorial, you will learn how to build a real-time chat application using Laravel, Vue.js, and Pusher. You'll use the Laravel framework to build the back end of the chat application, a combination of Blade templates and Vue.js to develop the user interface and layout of the application, and the Pusher platform for the real-time chat functionality. Prerequisites To complete this…
Read More
The Battle of the Frameworks: Who’s Really Winning the JavaScript War?

The Battle of the Frameworks: Who’s Really Winning the JavaScript War?

Charts are from different sources and thus colors are inconsistent; please carefully read the chart's legends. Like this? Check out React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979 Stack Overflow Trends Source: Stack Overflow Trends Observation: A visual representation of framework popularity based on Stack Overflow discussions. Stack Overflow Survey Insights Data Source: Stack Overflow Survey Popularity: React remains the most popular, followed by Angular and Vue.js. Desired: Developers desire React, with Vue.js and Svelte following. Admired: Svelte leads in admiration, with Solid.js and React close behind. State of JS Survey Breakdown Source: State of JS Satisfaction: Solid.js and Svelte top the satisfaction…
Read More
Implementing Infinite Scroll with Laravel and Vue.js 3

Implementing Infinite Scroll with Laravel and Vue.js 3

Infinite scroll is a more modern alternative to traditional pagination, providing a seamless user experience. In this blog post, we’ll implement infinite scroll in a Vue.js 3 application using Laravel as the backend. Prerequisites Basic knowledge of Laravel and Vue.js 3. A Laravel project with an API to paginate data (e.g., User model). Section 1: Setting Up the Basic Vue.js 3 Component for Infinite Scroll Step 1: Create the Backend API Create a simple API in your Laravel application to return paginated data: routes/api.php use AppModelsUser; use IlluminateHttpRequest; Route::get('/users', function (Request $request) { return User::paginate(10); }); Enter fullscreen mode Exit…
Read More
Nexus – An analytics tool for Threads

Nexus – An analytics tool for Threads

TL;DR: If you don't feel like reading all of this and just want to try out the app. Scroll to the end. A couple of weeks ago I decided to try out Threads. Which in case you've been living under a rock, is Meta's attempt at making a competitor for Twitter/X. And so far I am having a great time over there. The vibe seems to be much friendlier than on Twitter/X and there are actually interesting discussions going on. However, when I joined there seemed to be missing a very important function and this function is; Analytics. It was…
Read More
TON Wallet Integration with ton-ui-vue for vue/nuxt

TON Wallet Integration with ton-ui-vue for vue/nuxt

As blockchain technology continues to grow, integrating TON wallets into web applications is becoming increasingly important. For Vue.js and Nuxt.js developers, ton-ui-vue offers a powerful solution for seamlessly connecting TON wallets with your projects. This guide will walk you through the setup, usage, and advanced features of ton-ui-vue, ensuring you can leverage its full potential. Why Use ton-ui-vue? ton-ui-vue is designed to simplify the process of integrating TON wallets into your Vue.js applications. It provides a set of pre-built components, hooks, and customizable interfaces that make it easy to add wallet functionality without dealing with the complexities of blockchain technology.…
Read More
Passing query parameters through import.meta.url to vue with Laravel Vite

Passing query parameters through import.meta.url to vue with Laravel Vite

import.meta.url. For JavaScript modules, you can use the import.meta object to access its own meta information. import.meta - JavaScript | MDN Therefore, <script type="module" src="app.js?someURLInfo=5"></script> Enter fullscreen mode Exit fullscreen mode At this time, app.js module is able to get its own URL with query parameters and hash through import.meta.url.In other words, You can pass values via query parameters like new URL(import.meta.url).searchParams.get('someURLInfo') // '5'; Enter fullscreen mode Exit fullscreen mode Using with Laravel Vite Normally you would use @vite directive to load js file like @vite('resources/js/app.js') Enter fullscreen mode Exit fullscreen mode so to pass a value through query parameter,…
Read More
Top JavaScript Frameworks in 2024

Top JavaScript Frameworks in 2024

Explore the Leading JavaScript Frameworks for Modern Web DevelopmentA Comprehensive Guide to the Best JavaScript Frameworks in 2024 , The Ultimate Guide to Choosing the Right JavaScript FrameworkStay Ahead in Web Development with These Cutting-Edge JavaScript Frameworks In the fast-evolving world of web development, staying updated with the latest frameworks is crucial for building robust and efficient applications. This guide aims to provide a detailed overview of the top JavaScript frameworks in 2024, helping developers make informed decisions. We will explore the key features, benefits, and use cases of the leading JavaScript frameworks, including React, Angular, Vue.js, Svelte, and Next.js.…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.