Leanpub Header

Skip to main content

Material for Course: 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, etc

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
58,291Words
About

About

About the Book

Price

Pick Your Price...

Minimum price

$19.00

$29.00

You pay

$29.00

Author earns

$23.20
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 2)

2
The author will earn $24.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

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 (X), LinkedIn

Personal website: www.damianofusco.com

Applications:

Contents

Table of Contents

LARGE SCALE APPS WITH VUE, VITE, AND TYPESCRIPT

  1. Preface
  2. Prerequisites
  3. Companion Code

Lesson 1 - Setting Up The Project

  1. Create Project Wizard
  2. Lesson 1 Recap
  3. Exercise 1
  4. Quiz 1

Lesson 2 - Your First Component

  1. The Items List
  2. ItemsList Component Requirements
  3. ItemsList Component Code
  4. App.vue
  5. Lesson 2 Recap
  6. Exercise 2
  7. Quiz 2

Lesson 3 - Data Model Interfaces

  1. Models Directory
  2. Interface ItemInterface
  3. ItemsList Component
  4. App.vue
  5. Lesson 3 Recap
  6. Exercise 3
  7. Quiz 3

Lesson 4 - Adding Events To the Items Component

  1. ItemsList Component
  2. Lesson 4 Recap
  3. Exercise 4
  4. Quiz 4

Lesson 5 - Intro to Unit Testing While Refactoring a Bit

  1. ItemComponent
  2. Add unit tests support to our project
  3. ItemComponent Unit Tests
  4. ItemsList component updates
  5. Lesson 5 Recap
  6. Exercise 5
  7. Quiz 5

Lesson 6 - State Management

  1. Store Architecture
  2. Items.view.vue
  3. App.vue
  4. Web Browser
  5. ItemsList.component.vue updates
  6. Web Browser
  7. Loader Component
  8. Lesson 6 Recap
  9. Exercise 6
  10. Quiz 6

Lesson 7 - Api Client

  1. API Client Overview
  2. Domains
  3. The Main ApiClient
  4. Items domain Api Client
  5. Mock and Live Api Clients
  6. Environment Variables
  7. Api Client Provider
  8. Store Instance updates
  9. Alternatives
  10. Lesson 7 Recap
  11. Exercise 7
  12. Quiz 7

Lesson 8 - Enhance the Api Client

  1. HttpClient Interfaces and Models
  2. UrlUtils Unit Tests
  3. HttpClient: Unit Tests
  4. ItemsApiClientModel Update
  5. Lesson 8 Recap
  6. Exercise 8
  7. Quiz 8

Lesson 9 - App Configuration

  1. vite-env.d.ts updates (or env.d.ts)
  2. .env files updates
  3. Config Interface
  4. Config files
  5. tsconfig.json updates
  6. Config files map
  7. Config provider
  8. Unit Tests
  9. HttpClient code updates
  10. Api Client code updates
  11. Lesson 9 Recap
  12. Exercise 9
  13. Quiz 9

Lesson 10 - Localization and Internationalization - Language Localization

  1. Plugins: i18next, vue-i18n
  2. Config updates
  3. Translation JSON data
  4. API Client updates
  5. Updates to ApiClient.interface.ts
  6. Updates to ApiClient instances
  7. i18n initialization and useLocalization hook
  8. App.vue updates
  9. Browser
  10. Lesson 10 Recap
  11. Exercise 10
  12. Quiz 10

Lesson 11 - Localization and Internationalization - Number and DateTime Formatters

  1. Directory localization/formatters
  2. Lesson 11 Recap
  3. Exercise 11
  4. Quiz 11

Lesson 12 - Adding Tailwind CSS

  1. Lesson 12 Recap
  2. Exercise 12
  3. Quiz 12

Lesson 13 - Intro to Primitives

  1. Atomic Design and Similar Approaches
  2. Conventions
  3. General Strategies
  4. Text Elements
  5. Primitives View
  6. Lesson 13 Recap
  7. Exercise 13
  8. Quiz 13

Lesson 14 - More Primitives

  1. Button Elements
  2. Primitives View - update
  3. Toggle/Checkbox Elements
  4. Primitives View - one more update
  5. Lesson 14 Recap
  6. Exercise 14
  7. Quiz 14

Lesson 15 - A Primitive Modal

  1. Icon: ElIconAlert
  2. File ElModal.vue
  3. File src/index.html
  4. File useModalDialog.ts
  5. Updates to Primitives.view.vue
  6. Browser
  7. Lesson 15 Recap
  8. Exercise 15
  9. Quiz 15

Lesson 16 - Higher-level components

  1. Item Component - updates
  2. ItemsList Component - updates
  3. Summary
  4. Lesson 16 Recap
  5. Exercise 16
  6. Quiz 16

Lesson 17 - Creating a Component Library

  1. Create my-component-library
  2. Lesson 17 Recap
  3. Exercise 17
  4. Quiz 17

Lesson 18 - Creating a JavaScript library

  1. Create my-js-helpers
  2. Lesson 18 Recap
  3. Exercise 18
  4. Quiz 18

Lesson 19 - Publish a library as a NPM package

  1. Create an NPM user account
  2. Create an Organization under your NPM profile
  3. Update my-js-helpers package.json
  4. Publishing the library
  5. Consuming your NPM package
  6. Lesson 19 Recap
  7. Exercise 19
  8. Quiz 19

Appendix

  1. Naming Conventions
  2. Resources

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

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.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

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