Answers for "actions after reload page vuejs"

1

vue submit reloads page

<form @submit.prevent="onSubmit"></form>

<script>
export default {
  methods: {
    onSubmit () {
      // Do something...
    }
  }
};
</script>
Posted by: Guest on July-14-2020
0

vue reload app after an update

this.$forceUpdate()
Posted by: Guest on September-15-2021

Browse Popular Code Answers by Language