Building a Multi-Step Form with Petite-Vue

Written by Daniel Kelly

Are you building an informational website with primarily static content? If so a lot of JavaScript frameworks are probably overkill. Vue on the other hand has always had the ability to be adopted incrementally. In other words, your whole site could be mostly static or server side rendered and you could just add in Vue here and there where some extra interactivity was needed.

Now Evan You (founder of Vue.js) has made an even lighter weight version of Vue made specifically for this use case. It's called Petite Vue.

Read more "Building a Multi-Step Form with Petite-Vue"

6 Tips for Building Large Scale Vue.js 3 Applications

Part 3 of 3 in our How to Structure a Large Scale Vue.js Application series.
Written by Daniel Kelly

Vue.js 3 is a solid framework for building applications both large and small. In our series How to Structure a Large Scale Vue.js Application, we've been exploring how to best utilize it for your large scale projects. We've examined what a good file structure looks like, some standards for predictability, and using ESLint and Prettier for clean and consistent code.

In this article, let's take a look at 6 tips I've picked up from the Vue community and from my own experience developing large scale Vue.js applications.

Read more "6 Tips for Building Large Scale Vue.js 3 Applications"

ESLint and Prettier with Vite and Vue.js 3

Part 2 of 3 in our How to Structure a Large Scale Vue.js Application series.
Written by Daniel Kelly

In the previous article of the "How to Structure a Large Scale Vue Application" series, we took a look at some standards that you can employ in your Vue.js application to keep your codebase predictable, easy to navigate, and understandable. Another step you can take to improve the developer experience when building a large scale application, especially with a team, is to setup some automated process for code linting and formatting.

Read more "ESLint and Prettier with Vite and Vue.js 3"

How to Structure a Large Scale Vue.js Application

Part 1 of 3 in our How to Structure a Large Scale Vue.js Application series.
Written by Daniel Kelly

What is the best way to structure a Vue.js application so that it scales and remains maintainable and extendable the more it grows? This is a question that I've heard on numerous occasions and I think one answer to that question lies in the principle of predictability. When it comes to creating a scalable project you want everything about it to be as predictable as possible.

Read more "How to Structure a Large Scale Vue.js Application"

Building a Tag Input Component with the Vue 3 Composition API

Written by Daniel Kelly

Ever wonder how to build one of those fancy tag input components like you see in blog admin panels or in notion docs? Well, wonder no more! In this article we'll use Vue 3's composition API to make a reusable tag input component of our very own. Along the way we'll cover some important concepts you should know to be effective with the Vue 3 composition API.

Read more "Building a Tag Input Component with the Vue 3 Composition API"

Home Rolled Store with Vue.observable (Vue 2)

Part 4 of 5 in our Store Solutions in Vue.js series.
Written by Daniel Kelly

Now that we've seen some library options for implementing a Vue.js store (Vuex and Pinia), I want to spend a little time talking about some home rolled solutions. While home rolled solutions can be more fragile (if done hastily), less tested, and less standardized, they also provide an opportunity for useful customizations and the opportunity to learn more about stores and push the limits on what's possible.

First, let's talk about Vue.observable for all of you still using Vue 2 and once we've seen the concepts employed here it will only be a short leap to using the Vue 3 Composition API as a store in the next article.

So where do we start rolling our own store in Vue 2? Vue 2.6 exposed a wonderful little method called observable. Vue.observable() made it possible to create reactive data outside of a Vue component, thus also making it possible to have a single source of truth (or state) that can be shared directly between multiple components.

Read more "Home Rolled Store with Vue.observable (Vue 2)"

Pinia, an Alternative Vue.js Store

Part 3 of 5 in our Store Solutions in Vue.js series.
Written by Daniel Kelly

Pinia homepage screenshot

An alternative option for creating a store for your Vue.js application is Pinia. Pinia is the new kid on the block when it comes to stores for Vue. It was started by Vue core team member Eduardo San Martin Morote with the first commit to the repo being made on Nov 18, 2019. Pinia boasts an intuitive API and many of the features you've come to expect from a Vue.js store.

Read more "Pinia, an Alternative Vue.js Store"