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