Large Scale Apps with Vue, Vite and TypeScript
$35.00
Minimum price
$49.00
Suggested price

Large Scale Apps with Vue, Vite and TypeScript

Build Large and Scalable front-ends that leverage component isolation, internationalization, localization, a modular state manager, component Libraries, API-client code that easily can switch between mocked data and live data and more.

About the Book

Build Large and Scalable Vue front-ends with a large organized code base that is easy to expand and maintain using technique like: 

  • Using Vue 3 + Vite + TailwindCSS + JSONPlaceHolder and more
  • Development of UI components in isolation using an API client that can easily serve live data or mocked data
  • Centralized State Manager organized into domain/area modules
  • Internationalization and Localization for language translation and number/dates formatting according to a specific culture
  • TypeScript type-checking at development time to decrease run-time bugs or errors
  • Directory structure, file, and code naming conventions
  • Hooks and Compositional Patterns
  • Components Libraries
  • Unit tests for models and components
  • And more

About the Author

Damiano Fusco
Damiano Fusco

Web Developer with 20 years of experience.

Specialties: VueJS, Svelte, React, TypeScript, JavaScript, HTML, SCSS, Microfrontends, and more.

Working as a freelance consultant, after 20 years of employment work. Hire my services to help your company get unstuck from the drawbacks of your current legacy frontend, and start moving forward at much higher speed and quality.

Follow me on GitHub, Twitter, LinkedIn

Personal website: www.damianofusco.com

Packages

The Book

With this package you get one copy of the book, including any of its future updates.

  • PDF

  • EPUB

  • WEB

  • English

$35.00
Minimum price
$49.00
Suggested price
The Book: Team license

With this package you get 3 copies of the book, including any of its future updates.

  • PDF

  • EPUB

  • WEB

  • English

$50.00
Minimum price
$90.00
Suggested price
The Book: Enterprise license

With this package you get 20 copies of the book, including any of its future updates.

  • PDF

  • EPUB

  • WEB

  • English

$175.00
Minimum price
$350.00
Suggested price

Bundles that include this book

$98.00
Suggested price
$80.00
Bundle Price
$147.00
Suggested price
$119.00
Bundle Price

Table of Contents

  • LARGE SCALE APPS WITH VUE, VITE, AND TYPESCRIPT
  • Preface
    • Thanks
    • About me
    • Audience
    • Goal
    • Text Conventions
  • Prerequisites
  • Companion Code
  • Chapter 1 - Setting Up The Project
    • Create Project Wizard
    • Chapter 1 Recap
  • Chapter 2 - Your First Component
    • The Items List
    • ItemsList Component Requirements
    • ItemsList Component Code
    • App.vue
    • Chapter 2 Recap
  • Chapter 3 - Data Model Interfaces
    • Models Directory
    • Interface ItemInterface
    • ItemsList Component
    • App.vue
    • Chapter 3 Recap
  • Chapter 4 - Adding Events To the Items Component
    • ItemsList Component
    • Chapter 4 Recap
  • Chapter 5 - Intro to Unit Testing While Refactoring a Bit
    • ItemComponent
    • Add unit tests support to our project
    • ItemComponent Unit Tests
    • ItemsList component updates
    • Chapter 5 Recap
  • Chapter 6 - State Management
    • Store Architecture
    • Items.view.vue
    • App.vue
    • Web Browser
    • ItemsList.component.vue
    • Web Browser
    • Loader Component
    • Chapter 6 Recap
  • Chapter 7 - Api Client
    • API Client Overview
    • Domains
    • The Main ApiClient
    • Items domain Api Client
    • Mock and Live Api Clients
    • Environment Variables
    • Api Client Provider
    • Store Instance updates
    • Alternatives
    • Chapter 7 Recap
  • Chapter 8 - Enhance the Api Client
    • HttpClient Interfaces and Models
    • UrlUtils Unit Tests
    • HttpClient: Unit Tests
    • ItemsApiClientModel Update
    • Chapter 8 Recap
  • Chapter 9 - App Configuration
    • vite-env.d.ts updates (or env.d.ts)
    • .env files updates
    • Config Interface
    • Config files
    • tsconfig.json updates
    • Config files map
    • Config provider
    • Unit Tests
    • HttpClient code updates
    • Api Client code updates
    • Chapter 9 Recap
  • Chapter 10 - Localization and Internationalization - Language Localization
    • Plugins: i18next, vue-i18n
    • Config updates
    • Translation JSON data
    • API Client updates
    • Updates to ApiClient.interface.ts
    • Updates to ApiClient instances
    • i18n initialization and useLocalization hook
    • App.vue updates
    • Browser
    • Chapter 10 Recap
  • Chapter 11 - Localization and Internationalization - Number and DateTime Formatters
    • Directory localization/formatters
    • Chapter 11 Recap
  • Chapter 12 - Adding Tailwind CSS
    • Chapter 12 Recap
  • Chapter 13 - Intro to Primitives
    • Atomic Design and Similar Approaches
    • Conventions
    • General Strategies
    • Text Elements
    • Primitives View
    • Chapter 13 Recap
  • Chapter 14 - More Primitives
    • Button Elements
    • Primitives View - update
    • Toggle/Checkbox Elements
    • Primitives View - one more update
    • Chapter 14 Recap
  • Chapter 15 - A Primitive Modal
    • Icon: ElIconAlert
    • File ElModal.vue
    • File src/index.html
    • File useModalDialog.ts
    • Updates to Primitives.view.vue
    • Browser
    • Chapter 15 Recap
  • Chapter 16 - Higher-level components
    • Item Component - updates
    • ItemsList Component - updates
    • Summary
    • Chapter 16 Recap
  • Chapter 17 - Creating a Component Library
    • Create my-component-library
    • Chapter 17 Recap
  • Chapter 18 - Creating a JavaScript library
    • Create my-js-helpers
    • Chapter 18 Recap
  • Chapter 19 - Publish a library as a NPM package
    • Create an NPM user account
    • Create an Organization under your NPM profile
    • Update my-js-helpers package.json
    • Publishing the library
    • Consuming your NPM package
    • Chapter 18 Recap
  • (More Chapters Coming Soon)
  • Naming Conventions
    • Coding Standards
  • Resources
    • Websites
    • Tutorials
    • Blogs
    • Books
  • Notes

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$11,960,655writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub