Home Page Icon
Home Page
Table of Contents for
Contributors
Close
Contributors
by Marina Mosti
Building Forms with Vue.js
Title Page
Copyright and Credits
Building Forms with Vue.js
Dedication
About Packt
Why subscribe?
Foreword
Contributors
About the author
About the reviewers
Packt is searching for authors like you
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Code in Action
Conventions used
Get in touch
Reviews
Setting up the Demo Project
Technical requirements
Installing Vue CLI onto our computer
Creating our new project
A quick look at the project structure
Summary
A Form in its Simplest Form
Technical requirements
Getting started using Bootstrap
Actually writing some code
Binding the inputs to local state
Submitting the form's data
Bringing in Axios
Summary
Creating Reusable Form Components
Technical requirements
Breaking down the form into components
Understanding v-model in custom components
Implementing a custom input component
One more time – with dropdowns!
Summary
Input Masks with v-mask
Technical requirements
Installing the v-mask library
Exploring the v-mask directive
Enhancing our custom inputs
Summary
Input Validation with Vuelidate
Technical requirements
Installing dependencies
Creating validation rules
Moving validation into our custom inputs
Adding the final touches
Summary
Moving to a Global State with Vuex
Technical requirements
Adding Vuex to our project
Creating the mock API endpoint
Creating the global state
Adding some mutations to our store
Lights, Vue, actions!
Vuelidate and Vuex
Summary 
Creating Schema-Driven Forms
Technical requirements
Exploring the starter kit
Preparing the schema
Loading the schema and creating a Renderer component
Dynamically binding the user's data
Creating a mock API
Loading the new API into the app
Translating the API into a working schema
Summary
Other Books You May Enjoy
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Foreword
Next
Next Chapter
About the author
Contributors
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset