Sign in

teaching web dev at https://learnvue.co | sharing my content creation tips at https://mattmaribojoc.com

VueUse is an open-source project that provides Vue developers with essential utility functions for both Vue 2 and Vue 3.

VueUse is an open-source project by Anthony Fu that provides Vue developers with a huge collection of essential Composition API utility functions for both Vue 2 and Vue 3.


Photo by WrongTog on Unsplash

Using Vue 3’s defineAsyncComponent feature lets us lazy load components — meaning they’re only loaded when they’re needed.

Using Vue 3’s defineAsyncComponent feature lets us lazy load components. This means that they're only loaded from the server when they're needed.

This is a great way to improve initial page loads as our app will be loaded in smaller chunks rather than having to load every single component when…


Photo by Emile Perron on Unsplash

Vue Template Refs give our Javascript code a reference to easily access the template.

Vue Template Refs give our Javascript code a reference to easily access the template. For example, if we needed quick access to a component or HTML element, template refs is the perfect solution.

In Vue 3, the Composition API gives us another way to use template refs. It joins the…


Photo by Christopher Gower on Unsplash

Vue 3 Plugins are a great way to add reusable functionality to your apps. Let’s learn to build our own.

Plugins are a great way to add reusable functionality to your Vue apps. With tons of existing plugins for components, routing, and more, the ecosystem for Vue has solutions for many common use cases.

Some examples of commonly used plugins are vue-router, vue custom-element, and vue-touch.

However, there will come…


Allowing users to create their own profiles is a common use case for many modern web apps. Trying to set this up on your own custom database can a little tricky — dealing with persistence, O-Auth, and encryption.

Luckily for us Vue developers, we can easily add Firebase to our…


Photo by Joshua Aragon on Unsplash

When working in the Vue 3 Composition API, there are brand new ways to access component functionality. In this article, we’ll be taking a look at the setup function’s context argument.

These changes are necessary because, in the Composition API, we don’t have the same reference to this as we…


Photo by Maik Jonietz on Unsplash

The Single File Component Styles RFC gives us Vue developers a way to use a component’s reactive data as CSS variables.

In just one simple syntax, we can update styles at runtime in Vue 3.

This proposed change takes full advantage of CSS variables, which most modern browsers support, and…


Photo by Marc Wieland on Unsplash

Let’s speak it into existence. This summer, I will grow my main website — LearnVue.coto over 100,000 monthly pageviews by August 2021.


If you’ve been working in Vite and Vue 3 recently, you’ll notice that when you start a new project, your script section looks like this with this syntax in your Vue components.

You may be wondering, “What is this? Is this the Options API? Composition API? …


Seriously — I doubled my website traffic without writing any new blog posts.

As a matter of fact, I actually ended up with less blog posts now when I started, and we’re going to look at why.

So long story short, the way that I was able to do…

Matt Maribojoc

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store