Video description
Vue.js is a fun and easy-to-use JavaScript framework for building user interfaces. From easily adding it to an existing website or application to just control a part of it, such as adding new components, through to using it for medium or large single-page applications, you can improve productivity in several ways.
The course will guide you through building two challenging yet exciting projects, which will help you apply everything you learn.
You’ll begin with a guest list app where users can add their name to an event guest list. Although this is a simple app, you’ll learn several Vue.js essentials while building it such as two-way data binding, event handling, templates and the Virtual DOM, and instance properties - data, computed, watchers, methods, and filters.
You will then build on your knowledge by creating a greeting card application where users can create and edit their custom greeting card. They will be able to add their text and images to create a personalised card. This project will get you up to speed with components (local, global, and single file), installing Node and NPM, passing data with $emit, and storing and retrieving images from Firebase. In addition to this, you’ll make use of Vue CLI to scaffold your projects with build tools such as Webpack and Babel.
By the end of this course, you will be well-versed with Vue.js and have gained hands-on experience in applying it effectively in your projects.
What You Will Learn
- Understand the Vue.js framework and how to integrate services such as Firebase storage
- Explore core Vue concepts such as instance methods, looping, Virtual DOM, data binding and event handling
- Discover tools such as the Vue CLI and other build tools
- Apply Vue.js to existing web sites or apps
- Learn how to build complex, scalable single-page applications
- Gain insights into props and prop validation
- Explore slots and slot-scope
- Bind to menu options to change fonts and styles
- Delve into EventBus and Mixins
Audience
This course is for beginners to Vue.js or front-end frameworks. It will also be a great introduction if you’re coming from a different framework or library such as React or Angular and want to understand how Vue compares to them. Although this course is aimed at beginner-level Vue developers, you should have at least basic knowledge of JavaScript and web design/development to get the most out of this course.
About The Author
Chris Dixon: Chris Dixon is a self-employed web developer teaching others through training courses. Chris offers freelance web development and training workshops on various topics, including HTML, CSS, JavaScript, Vue.js, NUXT.js, WordPress (custom theme development), Mongo/Mongoose, PostgreSQL, Express, Firebase, and Supabase. Chris is also involved in building Shopify ecommerce solutions, including custom apps and theme development. Chris has vast experience in GraphQL, Keystone CMS, and many other front-end/full-stack skills. He is additionally a regular Shopify user in creating and managing online stores and editing/creating custom liquid templates.
Table of contents
- Chapter 1 : Introduction Getting Started
-
Chapter 2 : Vue Basics: Guest List App
- Section intro
- Download project starter
- Installing Vue.js
- The Vue instance the data object
- Templates the virtual DOM
- Two-way data binding with v-model
- Event handling methods
- List rendering
- Conditional rendering in Vue
- Binding attributes to elements
- Binding styles
- Vue shorthand syntax
- Outputting text HTML
- V-if vs v-show
- Using JavaScript expressions
- Section outro
-
Chapter 3 : A deeper look at Vue: Guest list app
- Section intro
- Adding a progress bar
- Computed properties
- Watchers
- Key events and modifiers
- Filters
- More on looping: keys index numbers
- Using multiple Vue instances
- Looping with objects
- Adding our navigation links keys
- Accessing Vue instances externally
- Vue instance properties methods
- Referencing elements with ref
- Using string templates
- The Vue lifecycle
- Vue lifecycle hooks in action
- Section outro
- Chapter 4 : Build Tools Workflow: Creative Cards App
-
Chapter 5 : Introduction to Components: Creative Cards App
- Section intro
- What are components?
- Registering global components
- Registering local components
- Creating single file components
- Adding the card front component
- Emit data to parent components
- Dynamic components
- Creating the additional card components
- Creating the text input component
- Receiving data from the text input
- Creating the text output component
- Passing data with props
- Keeping components alive
- Scoping CSS styles
- Prop validation
- Passing prop data to a style object
- Introduction to slots
- Slot scope fallback content
- Named slots
- Section outro
-
Chapter 6 : Components Continued Firebase Storage: Creative Cards App
- Section intro
- Setting up Firebase
- Creating the Image Upload component
- Uploading images to Firebase
- Image preview thumbnail
- Upload progress bar $emit file data
- Image Output component
- Downloading images from Firebase
- Set image button
- Text options menu: font sizes
- Text options menu: text alignment
- Text options menu: font style weight
- Remove image button
- Passing data with callbacks
- Making images draggable
- Finishing the CardInsideLeft component
- Finishing the CardInsideRight component
- Finishing the CardBack component
- Introduction to the event bus
- Sending events to the event bus
- Receiving events from the event bus
- Adding mixins
- Section outro
-
Chapter 7 : Transitions Animations
- Section intro
- Transition classes
- Adding CSS transitions
- Adding CSS animations
- Component transitions transition modes
- JavaScript hooks introduction
- JavaScript hooks in action
- Mixing animations transitions
- Custom transition classes
- Initial render transitions
- Element transitions keys
- Group transitions
- V-move class dynamic transition names
- Section outro
- Chapter 8 : Thank You
Product information
- Title: Vue.js 2 Academy: Learn Vue Step by Step
- Author(s):
- Release date: October 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838985455
You might also like
video
Learn Vue.js Essentials
Nearly 4 Hours of Video Instruction Shaun Wassell covers what developers need to successfully create and …
video
Complete Vue.js 3 (Inc. Composition API, Vue Router, Vuex)
This course is for developers who want to move fast. We cover the traditional way of …
video
CSS - The Complete Guide (incl. Flexbox, Grid and Sass)
Every web developer has to know CSS. CSS, short for Cascading Style Sheets, is a "programming …
video
Vue - The Complete Guide (Including Vue Router, Vuex, and Composition API)
Vue.js is a highly popular framework that provides a reactive and great user experience not only …