Building Authentication with passport.js Chapter 6
That's it! Now, let's navigate to http://localhost.com:8080/users/register:
Adding submit and clear methods in the register form
The next step is to add functionality to the submit and clear methods. Let's add some
methods to Register.vue:
...
<v-btn @click="clear">clear</v-btn>
</v-form>
</template>
<script>
export default {
data: () => ({
valid: true,
name: '',
email: '',
password: '',
confirm_password: '',
emailRules: [