Courses
Vue Foundations Vue Fullstack Vue Enterprise
Articles
Latest Topics
More
Newsletter Sponsorship Discord About
The video for this lesson is currently being updated, please read the transcript instead.
Build Your First Vue.js App > Lesson 10

Rendering the list of products

One thing that every e-commerce store needs to have is products. Let's start adding some to our app.

We're going to add another property to our Vue data properties object called products. We'll assign this one an array. This array will hold our store's products.

new Vue({
  el: "#app",
  data: {
    total: 0,
    products: []
  },
  methods: { ... }
});

Back to course page

Click to load comments...

Courses
  • Vue Foundations
  • Vue Fullstack
  • Vue Enterprise
Articles
  • Latest
  • Topics
Newsletter
  • Join
  • Sponsorship
More
  • Discord
  • Vue.js jobs
  • About

Vue.js Developers © 2021. View our privacy policy .

  • RSS
  • |
  • Atom