Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Forms with Vue.js

You're reading from   Building Forms with Vue.js Patterns for building and scaling complex forms with great UX

Arrow left icon
Product type Paperback
Published in Oct 2019
Publisher Packt
ISBN-13 9781839213335
Length 108 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Marina Mosti Hernandez Mosti Marina Mosti Hernandez Mosti
Author Profile Icon Marina Mosti Hernandez Mosti
Marina Mosti Hernandez Mosti
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Setting up the Demo Project FREE CHAPTER 2. A Form in its Simplest Form 3. Creating Reusable Form Components 4. Input Masks with v-mask 5. Input Validation with Vuelidate 6. Moving to a Global State with Vuex 7. Creating Schema-Driven Forms 8. Other Books You May Enjoy

A quick look at the project structure

Go ahead and open your new vuetiful-forms folder in your favorite code editor. If you don't already have an IDE for development, you can get a really good one for free from code.visualstudio.com.

Your project structure will look like the following screenshot:

Here is a quick rundown of what you can find inside the structure:

  • node_modules: This holds your dependencies—the code packages that you can install or remove using npm.
  • public: This folder will hold index.html, which your web server will load up when you navigate to the app's URL. All of the files that it will need will be auto-injected by Vue, so you don't need to worry about what happens here.
  • src: This is where you will put all of your code, components, assets, and so on.

On your project root, you will see a configuration file like .eslintrc.js for your ESLint configuration, .gitignore for Git, your package.json and package-lock.json or yarn.lock files for package management, and others depending on your previous choices.

These files are used for changing preferences on each one of these services and can be safely ignored if you don't have experience tweaking them.

You have been reading a chapter from
Building Forms with Vue.js
Published in: Oct 2019
Publisher: Packt
ISBN-13: 9781839213335
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image