[Vuejs]-Dynamic Progress Bar – Vuejs

0👍

Place progress into the data and its working for me:

data() {
    return {
      progress: 70,
    }
  }

If you don’t know how to calculate the progress just do it like so:

methods: {
  updateProgres() {
    this.progress=completedSteps/totalSteps*100
  }
}

Leave a comment