Vue.js: Working With Forms & Unit Testing
Vue.js 2.6
| Beginner
- 15 videos | 59m 41s
- Includes Assessment
- Earns a Badge
Vue.js, a Javascript front-end framework that is lightweight, flexible, progressive, is easy to set up to quickly start creating apps. In this 15-video course on important aspects of Vue.js, learners see how to use the V-Model directive to set up two-way data binding between Form Inputs and locally managed data. Then you will learn to work with FormData in Vue to construct a set of key/value pairs. Next, the course demonstrates how to install the necessary tools for unit testing, and how to create and run teAPI. You will learn to use Jest, a JavaScript unit testing tool; how to stub certain Vue containers as part of setting up unit tests; and examine mixins (Cascading Style Sheet properties similar to functions) and global mixins to define and distribute reusable bits of logic among the app's components. You will learn to use built-in and custom directives in Vue to add to templates. Finally, learners will see that custom filters are a way to apply common formatting to text and return an output.
WHAT YOU WILL LEARN
-
Identify the subject areas covered in this courseUse v-model to perform two-way data binding in a vue appUse modifiers to cast model data into an expected formatBind to the submit method of a form element and respond in vueValidate form data according to business requirementsSet up unit testing using the vue cliCreate and run a unit test against a vue componentRe-run unit tests automatically on save
-
Reuse app logic using mixinsSet up global mixins in a vue appUse vue-provided directives in appsCreate and use custom directivesSet up and use filters in vueCreate and use custom filtersCreate a vue component, add form elements, inputs, and buttons, and display alerts
IN THIS COURSE
-
1m 36s
-
4m 34sDuring this video, you will learn how to use v-model to perform two-way data binding in a Vue application. FREE ACCESS
-
3m 12sIn this video, learn how to use modifiers to format model data as expected. FREE ACCESS
-
4m 27sIn this video, learn how to bind to the submit method of a form element and respond in Vue. FREE ACCESS
-
6m 38sIn this video, you will learn how to validate form data to meet business requirements. FREE ACCESS
-
3m 6sIn this video, you will learn how to set up unit testing using the Vue CLI. FREE ACCESS
-
3m 3sIn this video, you will learn how to create and run a unit test against a Vue component. FREE ACCESS
-
4m 1sIn this video, you will learn how to automatically re-run unit tests on save. FREE ACCESS
-
5m 8sIn this video, you will learn how to reuse app logic using mixins. FREE ACCESS
-
3m 52sIn this video, you will learn how to set up global mixins in a Vue app. FREE ACCESS
-
5m 5sFind out how to use directives provided by Vue in apps. FREE ACCESS
-
5m 39sLearn how to create and use custom directives. FREE ACCESS
-
3m 1sIn this video, you will learn how to set up and use filters in Vue. FREE ACCESS
-
3m 27sIn this video, you will learn how to create and use custom filters. FREE ACCESS
-
2m 52sIn this video, you will learn how to create a Vue component, add form elements and inputs, buttons, and display alerts. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.