Laravel 5.4 with Vue and Vee Validate (Windows)

This is a very simple for Vee Validate.

  1. Install Laravel project by windows command Line

2. cd Laravee

3. php artisan serve

4. Run http://127.0.0.1:8000 on browser for test Laravel work.

5. Install npm: npm install

6. Install Vee Validate

7. resources/assets/js/app.js

  • Add Vee Validate
  • Add SimpleForm.vue

8. resources/assets/js/components/SimpleForm.vue

9. resources/views/welcome.blade.php

10. public/css/custom.css

11. Compile mix script: npm run dev

Credit by: http://vee-validate.logaretm.com