Book Image

Architecting Vue.js 3 Enterprise-Ready Web Applications

By : Solomon Eseme
Book Image

Architecting Vue.js 3 Enterprise-Ready Web Applications

By: Solomon Eseme

Overview of this book

Building enterprise-ready Vue.js apps entails following best practices for creating high-performance and scalable applications. Complete with step-by-step explanations and best practices outlined, this Vue.js book is a must-read for any developer who works with a large Vue.js codebase where performance and scalability are indispensable. Throughout this book, you’ll learn how to configure and set up Vue.js 3 and the composition API and use it to build real-world applications. You’ll develop the skills to create reusable components and scale performance in Vue.js 3 applications. As you progress, the book guides you in scaling performance with asynchronous lazy loading, image compression, code splitting, and tree shaking. Furthermore, you’ll see how to use the Restful API, Docker, GraphQL, and different types of testing to ensure that your Vue.js 3 application is scalable and maintainable. By the end of this book, you’ll be well-versed in best practices for implementing Restful API, Docker, GraphQL, and testing methods to build and deploy an enterprise-ready Vue.js 3 application of any scale.
Table of Contents (21 chapters)
1
Part 1: Getting Started with Vue.js
4
Part 2: Large-Scale Apps and Scaling Performance in Vue.js 3
9
Part 3: Vue.js 3 Enterprise Tools
11
Part 4: Testing Enterprise Vue.js 3 Apps
16
Part 5: Deploying Enterprise-ready Vue.js 3

Understanding file architecture and structure

Structuring your project depends solely on the preference of your organization and how easy it is to access files and folders when fixing bugs and adding new features.

In this section, we will explore different principles that will give you an idea of how you can structure your project to incorporate best practices, standards, and easy-to-access files.

What is the most effective way to structure your project to scale and keep it maintainable and extendable the more it grows?

This is a common question in the software development industry but there is no one-size-fits-all method. It all depends on the principle of predictability, as discussed in this article: https://vueschool.io/articles/vuejs-tutorials/how-to-structure-a-large-scale-vue-js-application/.

The principle of predictability is simply the ability to go from point A to point B in any code base to intuitively go from a feature request or bug report to the location in...