Leanpub Header

Skip to main content

Vue.js 3 Crashkurs

Moderne Single-Page-Web-Apps mit Single-File-Components und TypeScript an einem praxisnahen Fallbeispiel erlernen

Das Buch richtet sich an Einsteiger in Vue.js 3.x und Umsteiger von Vue.js 2.x. Es erklärt die SPA-Programmierung mit Single-File-Components und TypeScript schrittweise anhand eines praxisnahen Fallbeispiels, der Aufgabenverwaltung "MiracleList". Das Buch behandelt die aktuelle Vue.js-Version 3.4.

Aktuellste Buchversion 1.15.0 vom 20.11.2024 zu Vue.js 3.5!

This book is available in multiple packages!

Pick Your Package
PDF
265
Pages
About

About

About the Book

Das Buch behandelt die aktuelle Vue.js-Version 3.5 inkl. den Werkzeugen Vue CLI 5.0 und Vite 5.0 sowie den Erweiterungen Pinia und Nuxt und alle wichtigsten Aspekte einer modernen Vue.js-basierten SPA: Options-API vs. Composition-API (letzteres ist der Schwerpunkt im Buch), Templates, Komponentenbildung und Komponentennutzung, Routing Zugriff auf REST-Dienste, Formulare mit Validierung, Dialoge, Authentifizierung, Zustandsverwaltung, Einbinden von Zusatzkomponenten, Drag & Drop, Push-Nachrichten über Websockets, Toast-Benachrichtigungen, Server-Side-Pre-Rendering und Deployment sowie automatisierte Testen (Unit Test und End-to-End-Tests).

Das Buch ist allerdings kein Nachschlagewerk. Es erhebt nicht den Anspruch, über die Konzepte und Einführung hinaus eine vollständige Dokumentation von Vue.js 3.x zu bieten. Ich gehe davon aus, dass Sie nach der Lektüre des Buchs sich in der Online-Dokumentation von Vue.js und anderen Internetquellen selbst helfen können und wollen.

Das Buch setzt voraus, dass Sie über Grundkenntnisse in JavaScript und TypeScript sowie über die Architektur moderner Webanwendungen verfügen.

Ich plane, in Zukunft erweiterte Versionen dieses Buchs zu veröffentlichen mit weiteren Aspekten zum Thema Vue.js. Käufer des Buchs bei Leanpub.com erhalten automatisch und kostenfreie alle kommenden Updates des Buchs. 

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF

E-Book (PDF)

Minimum price

Suggested price$21.99

$19.99

    E-Book (PDF), Cheat Sheet und Programmcodebeispiele

    Minimum price

    Suggested price$23.99

    $21.99

    • Programmcode zum Buch als ZIP-Archiv
      Fallbeispiel "MiracleList" und andere Vue.js 3-Beispiele sowie eine Projekt- und Komponentenvorlage
    • Vue.js Cheat Sheet
      Die wichtigsten Befehle auf einen Blick!

    Author

    About the Author

    Dr. Holger Schwichtenberg

    Dr. Holger Schwichtenberg - alias der "DOTNET-DOKTOR" - ist technischer Leiter des Expertennetzwerks www.IT-Visions.de, das mit 54 renommierten Experten zahlreiche mittlere und große Unternehmen durch Beratungen und Schulungen sowie bei der Softwareentwicklung unterstützt. Seine persönlichen Tätigkeitsschwerpunkte sind Webanwendungen, verteilte Systeme, systemnahe Programmierung und Datenbankzugriffe. Er programmiert leidenschaftlich in C# und JavaScript/TypeScript sowie PowerShell.

    Durch seine Auftritte auf zahlreichen nationalen und internationalen Fachkonferenzen sowie mehr als 95 Fachbücher für O’Reilly, Addison-Wesley, Microsoft Press, Apress und dem Hanser-Verlag gehört er zu den bekanntesten Softwareentwicklungsexperten in Deutschland. Er schreibt regelmäßig für die iX, die dotnetpro, windows developer und heise.de. Dadurch hat in seiner Karriere bereits über 1600 Fachartikel veröffentlicht. Von Microsoft wird er für sein .NET-Fachwissen seit nunmehr 22 Jahren kontinuierlich als Microsoft Most Valuable Professional (MVP) ausgezeichnet.

     

    Sein Weblog finden Sie unter https://www.dotnet-doktor.de. Bei X folgen Sie ihm unter @DOTNETDOKTOR.

    Contents

    Table of Contents

    1 Inhaltsverzeichnis (Hauptkapitel) 4 2 Inhaltsverzeichnis (Details) 5 3 Vorwort 11 4 Über den Autor 13 5 Über dieses Buch 15 6 Programmcodebeispiel zum Download 19 7 Vue.js-Grundlagen 28 8 Vue.js in einzelnen HTML-Dateien (Options-API) 45 9 Single-File-Components (SFC) 54 10 Vue.js-Projekte mit der Vue CLI 73 11 Reaktivität und Rendering 84 12 Das Fallbeispiel MiracleList 89 13 Das Backend für die MiracleList 93 14 Projektvorlage für das Vue.js-Frontend der MiracleList 99 15 Daten mit Templates rendern 106 16 Eingabefelder und Formulare 114 17 Authentifizierung und Zustandsverwaltung 134 18 Übersetzung für die Auslieferung ("Deployment") 148 19 Nutzung von Zusatzkomponenten 152 20 Automatisiertes Testen 166 21 Vite als Alternative zur Vue CLI 181 22 Zustandsverwaltung (State Management) 202 23 Server-Side-Pre-Rendering 221 24 Vue.js-Kurzreferenz 241 25 Quellen im Internet 251 26 Versionsgeschichte dieses Buchs 252 27 Stichwortverzeichnis (Index) 255 28 Werbung in eigener Sache 262

    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