Vue 2 & Vue 3 edition

The advanced Vue handbook for engineers shipping real apps.

Take your Vue skills to the next level by mastering advanced patterns, scalable architecture, and the techniques senior engineers use to ship production Vue 2 and Vue 3 applications.

7-day refund · lifetime updates · team licences available

Vue - The Road To Enterprise book cover

Why this book exists

Stop your Vue project from becoming a legacy before it ships

Vue is awesome and it's easy to learn. Building a small app, even a mid-sized one, feels great. But the moment your project grows past a handful of components, the questions start. How should I structure this? Where does the API logic live? What about state? Tests?

Most Vue projects accumulate damage early. A folder structure picked in week one. A "we'll refactor later" data layer. Vuex slices glued to Pinia stores glued to ad-hoc composables. By the time the team wants to ship a real feature, the codebase has already become legacy.

Free tutorials stop at the Composition API and useState-style examples. This book starts where they stop, at the architecture, patterns, and decisions that actually determine whether what you ship can be maintained.

320+
pages of production Vue
80+
runnable code examples
14
in-depth chapters
5★
reader rating

What's inside

A complete production handbook

Not another Composition API intro. The architecture, patterns, and decision-making senior Vue engineers reach for every day.

Architecture that scales

Folder structure, module boundaries, and dependency rules that survive past 50 components, for both Vue 2 and Vue 3.

Performance, measured

Vue DevTools profiling, list virtualisation, async components, lazy loading, and bundle audits that actually move the needle.

State, the right way

Pinia, Vuex, shared composables, and provide/inject: when to reach for each and how to combine them cleanly.

A real API layer

A scalable async/API layer with request cancellation, retries, and de-coupled state, not a bag of axios calls in components.

Tests that catch bugs

Real unit, integration, and e2e patterns with Vitest, Testing Library, and Cypress. No vanity coverage.

Vue 2 and Vue 3, covered

Patterns shown with both Options API and Composition API so the book works whether you are migrating or starting fresh.

Why pay for this

What free tutorials skip

Most Vue content stops at the Composition API and ref(). Production needs more.

Comparison between free Vue tutorials and this book
What you needFree tutorialsThis book
Folder architecture for 50+ components
Production API layer with cancellation
Pinia patterns for shared and scoped state
Vuex modules done right (Vue 2 friendly)
Composition API + Options API side-by-side
Performance: async components, lazy, virtualisation
Static and dynamic layout patterns
Real tests with Vitest + Cypress
Companion app + Vue 3 enterprise boilerplate
Lifetime updates as the ecosystem evolves
This book is a great help when you have to make architectural decisions. Thomas shows the different options and explains the pros and cons. It saves a lot of time and gives confidence. You realize how much practical experience Thomas has gained and it is a blessing to benefit from it.
Thomas Gick

Quick answers

Common questions, up front

What will I learn?
How to architect, build, and ship production Vue applications, covering folder structure, API layers, state management, performance, testing, and component patterns for both Vue 2 and Vue 3.
Who is this book for?
Vue developers with 6+ months of experience who are moving from tutorials to real product work and want senior-level patterns without years of trial and error.
Vue 2 or Vue 3?
Both. Every key pattern is shown with Options API and Composition API, so the book is useful whether you are still on Vue 2, migrating, or already shipping with Vue 3.

Table of contents

14 production chapters

Each chapter ends with a working pattern you can lift straight into your codebase.

  1. 01

    Introduction

  2. 02

    Vue 2 vs Vue 3 and preparing for migration

  3. 03

    Project configuration and useful extensions

  4. 04

    Scalable project architecture

  5. 05

    Project and component documentation

  6. 06

    API layer and managing async operations

  7. 07

    Advanced component patterns

  8. 08

    Managing application state

  9. 09

    Managing application layouts

  10. 10

    Performance optimisation

  11. 11

    Vuex patterns and best practices

  12. 12

    Application security

  13. 13

    Best practices for testing Vue applications

  14. 14

    Useful patterns, tips and tricks

Inside the book

Topics, by theme

A fast scan of the patterns and techniques you'll learn, grouped so you can see exactly where your weak spots are.

Architecture & setup

  • Folder structure for 50+ component projects
  • Vite-based setup configured for production
  • ESLint, Prettier, Stylelint, PostCSS the right way
  • Project and component documentation

Data & state

  • A real API layer with cancellation and retries
  • Pinia stores, modules, and shared composables
  • Vuex modules and patterns for Vue 2 codebases
  • provide/inject and scoped state strategies

Component patterns

  • Compound components and slot-driven APIs
  • Renderless components and headless logic
  • Dynamic layouts and route-driven UIs
  • Options API and Composition API side-by-side

Performance

  • Vue DevTools-driven optimisation
  • Async components and route-level code-splitting
  • List virtualisation and infinite scrolling
  • Bundle audits and lazy loading patterns

Testing & shipping

  • Unit and integration tests with Vitest
  • End-to-end tests with Cypress
  • Application security and route protection
  • Migration tips from Vue 2 to Vue 3

Who is this book for

Not a beginner's guide. A senior toolkit

This isn't a beginner's guide. You should already be comfortable with the basics of Vue: components, props, the reactivity model, and the ecosystem around it (Vue Router, Vuex or Pinia). If you can build a small Vue app on your own, you'll get the most out of this book.

The book is written hands-on. Every concept comes with a working example you can run, modify, and steal from. Read it at your laptop, not on the train.

This book is a great resource for:

  • Vue developers ready to move from tutorial-level code to scalable, maintainable, production apps.
  • Teams that want to align on best practices, patterns, and architecture for new or existing Vue projects.
  • Developers looking to grow into senior, staff, or consulting roles where architecture decisions matter.

Companion app

A working companion app

Every code example in the book exists as a runnable Vue project. Permissions, async loading, API services, layouts. Open the source, copy what you need, drop it into your project. No retyping. No "left as an exercise to the reader."

Companion app: every code example as a runnable Vue project

Enterprise boilerplate

Vue 3 enterprise boilerplate

The Complete package ships with a pre-configured Vue 3 boilerplate built on Vite: the architecture from the book, baked in. ESLint, Prettier, Stylelint, PostCSS, SCSS, sensible defaults. Clone, run, build. Designed for medium-to-large projects so you don't burn week one on plumbing.

  • Opinionated folder structure ready to scale
  • Vue Router with automated route file imports
  • Pinia configured for global and shared state
  • Auto-registration for base components and plugins
  • Vitest, Cypress, and Testing Library wired up
  • i18n, @vueuse/head, and @vueuse utilities ready to go

vite.config.ts

↳ src/app/ · src/features/ · src/shared/

↳ eslint, prettier, stylelint preconfigured

pinia.stores.ts

↳ auto-registered base components + plugins

↳ Vitest + Cypress + Testing Library wired

Bonus videos

Three bonus videos with the Complete package

Standalone screencasts that go deeper on the topics most readers ask about.

Introduction to the Composition API

Convert an Options API app to the Composition API step-by-step. Understand the differences, the trade-offs, and how to organise composables for real-world reuse.

Compound Components Pattern

Build a flexible Tabs component using both Options API (Vue 2) and Composition API (Vue 3) that gives users full control over layout and style, without prop explosions.

Cleaner Code with Modern JavaScript

Modern JS features that keep your codebase readable and your mental model small as the project grows.

Everything you get

More than a book

  • The 320+ page book

    PDF with searchable text, dark and light themes.

  • Companion app

    Every code example as a running, navigable Vue project.

  • Vue 3 enterprise boilerplate

    A pre-configured Vite + Pinia starter with the architecture from the book baked in.

  • Bonus videos

    Composition API deep dive, Compound Components, and modern JS techniques.

  • Lifetime updates

    Every revision, including future Vue and Nuxt majors, is free.

  • 7-day refund

    Not for you? Email within 7 days for a full no-questions refund.

About the author

Written by Thomas Findlay

Thomas Findlay

Thomas Findlay is a CTO, senior full-stack engineer, and the author of Vue - The Road To Enterprise and React - The Road To Enterprise. With 13+ years of experience, he has built and led engineering teams, architected multi-tenant SaaS platforms, and driven AI-augmented development workflows that cut feature delivery time by 50%+.

Over the years, Thomas has worked with developers and teams ranging from beginners to advanced engineers, helping them build and scale production applications. He specialises in JavaScript, TypeScript, Vue, Nuxt, React, Next.js, Node.js, and modern web platform patterns.

He holds an MSc in Advanced Computer Science with Distinction from the University of Exeter and a First-Class BSc in Web Design & Development from Northumbria University.

CTO · MSc Advanced Computer Science (Exeter) · 13+ years

What developers say about Thomas

Trusted by the developers he's mentored

Before he wrote the book, he spent years 1:1 with hundreds of developers, debugging real codebases. Some of what they had to say:

Thomas has been instrumental in my development as a web developer. In particular his knowledge of Node, front-end frameworks, and JavaScript in general, as well as a variety of web development concepts, has really helped me to rapidly build up my skills and understanding. He has been very thorough in code reviews, is quick to understand the purpose and structure of my apps, and evaluate them based on his knowledge of best-practice. I look forward to more sessions with him!
SimonMentorship client
Thomas is absolutely BRILLIANT! I spent more than 30 hours on a feature, which 30 hours didn't even get me near as far as I hoped... Then when I was at my wits end with fighting this build out. Thomas was able to assist me in a matter of 2 hours, and that was including a little fancy styling... I absolutely RECOMMEND THOMAS!!! THANKS THOMAS!!
ChaseMentorship client
This guy is the best developer I have ever encountered in my entire career, he understands everything in seconds, and guides you through the solution in the clearest way possible, definitively hire him right now.
Sergio MorenoMentorship client

Testimonials

Five-star feedback from engineers shipping at scale.

This book is a great help when you have to make architectural decisions. Thomas shows the different options and explains the pros and cons. It saves a lot of time and gives confidence. You realize how much practical experience Thomas has gained and it is a blessing to benefit from it.
Thomas Gick
You don't have to be building an enterprise-level app to benefit from the ideas in this book. Thomas covers a breadth of topics, teaching sound engineering principles that I can use immediately, and does so in an approachable, easy to understand manner. I especially enjoyed the insights into the reasoning behind design decisions, along with the thoughtful presentation of other best practice options where available. Highly recommend++
Ray L.
This book is the most technically complete I've ever read. Focus on unit test, design system, best practices, etc... I learned full of tips I didn't expect. Thank you :)
Délita Makanda
Thomas Findlay has completely changed my mindset on how to structure existing or new projects. While watching YouTube, or some other tutorials doesn't teach you how to scale a project correctly. They teach you only fundamentals! His book is geared to you, only, and knows how to build things in Vue. If you are feeling unsure if you are scaling and structuring your projects correctly, then I highly recommend giving Vue - The Road to Enterprise a chance!
Khoi Hoang
Vue - The Road To Enterprise is an amazing book. Probably the best resource to build strong Vue.js architecture. I recommend it
Eliyote OÜFrontend Developer
Just the API Layer and Managing Application State chapters will take your Vue knowledge to the next level. Mind Blown.
Marcel
Some of the techniques in this book helped me to write better code. I'd recommend this book to every mid to advanced level Vue developer.
Mislav Paparella
A valuable book, since the information found here contains advanced details related to Vue not found or spread out to different discrete tutorials.
Marc Angelo M. Tabia
This book is a great guide for Vue Developers! Very helpful information about how to set up your project for success. As somebody new to both Vue, and web development, I found the step by step detailed explanations and instructions to be just the guidance I needed to feel confident using this fantastic framework for any size project.
Catherine Trujillo

Pricing

Start The Road To Enterprise

Choose the package that suits you and join thousands of developers who learn from Thomas.

…and if for some reason you don't think it's for you, just let me know within a week. You will get a refund with no questions asked ;)

The Essentials

  • check-icon

    The 300+ pages book in a PDF format

  • check-icon

    Compound Components Pattern (video)

  • check-icon

    Free lifetime access to all book updates

The Complete Package

  • check-icon

    The 300+ pages book in a PDF format

  • check-icon

    The Companion App with full code examples, components, services, and more

  • check-icon

    Pre-configured Vue 3 Enterprise boilerplate

  • check-icon

    Introduction to Composition API (video)

  • check-icon

    Compound Components Pattern (video)

  • check-icon

    How to write cleaner and better code using modern JavaScript features (video)

  • check-icon

    Free lifetime access to all book, companion app, and enterprise boilerplate updates

Buying for a team?

FAQ

Frequently asked questions

Currently, only a digital copy is available. However, drop me an email at to show interest.

Yes, an invoice will be available after the purchase.

Yes, send an email at with proof that you are a student to get 10% off.

If that's the case, then drop me an email at with the country you are from, and we can have a chat.

Of course! Just send an email at and we will sort it out.

PayPal is supported only in select European countries.

Of course! Just click to see available options.

Sure, send an email at with information about how many licenses you need, and we can figure something out!

That’s ok! Drop me an email at within 7 days of the purchase to get a full refund.

Just send an email at .

Stop fighting your codebase. Start shipping

320+ pages, 80+ examples, lifetime updates, 7-day refund. Vue 2 & Vue 3 edition.