when i refresh my vuejs state lost code example Example: when i hit save button my page gets refresh but data into goes to server in vue.js type="button"