Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Laravel - Learn How to Create Charts with Vue.js and Laravel
Rating: 4.4 out of 5(60 ratings)
1,406 students

Laravel - Learn How to Create Charts with Vue.js and Laravel

Vue & Laravel Charts The Easy Way
Last updated 10/2018
English

What you'll learn

  • Student will be able to create custom charts using Vue and Laravel

Course content

1 section15 lectures1h 8m total length
  • Introduction6:08
  • Reference Files0:06
  • Creating Our Migrations and Routes2:39

    Create migrations and a model in a fresh Laravel setup, connect to a database, and define fields for a sales report to prepare routes using php artisan migrate.

  • Creating Routes, Methods, and Testing2:38
  • Setting Up Index and Store Methods5:10

    Create the backend store method to save a product from request data (name, year, price) and return a json response, and set up index to list products by year ascending.

  • Creating Our Routes and Views3:46

    Create integration routes and views to build a login-protected home page, register users, and set redirects. Build a bootstrap form with name, year, and prize for testing next lecture.

  • Creating the HTML Product Addition Form4:06

    Create an HTML product addition form using live templates, wire it with components, and manage data with JavaScript in a Laravel and Vue.js workflow.

  • Creating a VUE Component and Adding the Form8:39

    Create a Vue component and integrate a product form by installing npm packages, wiring the form into a prebuilt component, compiling assets with npm run dev, and mounting the component.

  • Hooking up Our Form with VUE6:45

    Hook the form into the Vue.js script and bind inputs to a product object. Post the built object (name, price, year) to the Laravel back end to save.

  • Saving a Product In The Database with VUE5:02

    Send a product object from a Vue.js form to a Laravel back end via post with axios, then insert the product into the database and update the UI.

  • Creating Our Vue Chart In the Component Part 15:18

    Create a reusable chart component in a Laravel with Vue.js project using a chart.js wrapper (vue-chart.js), import data, and configure a line chart with product data, years, labels, and prices.

  • Creating Our Vue Chart In the Component Part 25:05
  • Creating Our Vue Chart In the Component Part 34:12

    Iterate through the data to build a Vue chart in the component, map each element to name and price, and prepare labels for the chart, then verify with console logs.

  • Creating Our Vue Chart In the Component Part 46:21

    Finish wiring the Vue chart in the component by assigning data, rendering the chart with the chart package, and configuring labels, datasets, colors, and responsive options.

  • Conclusion2:17

    Finish a course by recognizing your progress, keep learning and practicing, and commit to growth and hard work to achieve lasting success.

Requirements

  • Some Laravel Knowledge is required to understand this course

Description

On this short course students will learn to use VUE.js with Laravel to create custom charts to display data. Students will also learn to send and receive requests via VUE to the backend (PHP ) where they then can process it.

This is an excellent course for those wishing to learn this knowledge to apply it right away in their projects. We jump right to the point in this course without wasting too much time in trivial matters.

Who this course is for:

  • Students who want to create charts using Vue and Laravel should take this course