Skip to content

📋 Vue dev app to add strings of text ('skills') to an existing list. With each entry there is a delete button. Input validation is used to prevent empty strings or strings of less than 5 characters from being added to the list.

License

Notifications You must be signed in to change notification settings

AndrewJBateman/vue-forms-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ Vue Forms Validation

  • Vue app to add strings of text ('skills') to an existing list. With each entry there is a delete button. Input validation is used to prevent empty strings or strings of less than 5 charaters from being added to the list.
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

📚 General info

  • This tutorial project used Vue Components, Templating, Input Verification, Styling, Forms, Animation, Routing.

📷 Screenshots

Example screenshot.

📶 Technologies

💾 Setup

  • Run npm run serve then navigate to http://localhost:8080/. The app will automatically reload if you change any of the source files.

💻 Code Examples

-addSkill() and remove() functions from `Skills.vue

methods: {
  addSkill() {
    this.$validator.validateAll().then((result) => {
      if(result) {
        this.skills.push({skill: this.skill})
        this.skill = '';
      }
      console.log('not valid');
    })
  },
  remove(id) {
    this.skills.splice(id,1);
  }
}

🆒 Features

  • Add and delete skills from the Skills list supplied.

📋 Status & To-Do List

  • Status: Working.
  • To-Do: Add mode data inputs and add clock functionality. Not a simple ncu -u upgrade.

👏 Inspiration

📁 License

  • This project is licensed under the terms of the MIT license.

✉️ Contact

About

📋 Vue dev app to add strings of text ('skills') to an existing list. With each entry there is a delete button. Input validation is used to prevent empty strings or strings of less than 5 characters from being added to the list.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •