The register functionality is fully implemented in our theme helping you to start your project in no time. To register a new user you just have to add /signup in the URL or click on register link from login page and fill the register form with user details.
The src\views\Signup.vue is the Vue component which handles the register functinality. You can easily extend it to your needs.
It uses the auth store located in src\store\auth.module.js.
Register Examples
1<divclass="card mt-8">2<divclass="card-header p-0 position-relative mt-n4 mx-3 z-index-2">3<divclass="bg-gradient-success shadow-success border-radius-lg py-3 pe-1 text-center py-4">4<h4class="font-weight-bolder text-white mt-1">5 Join us today
6</h4>7<pclass="mb-1 text-white text-sm">8 Enter your email and password to register
9</p>10</div>11</div>12<divclass="card-body pb-3">13<Form role="form":validation-schema="schema" @submit="handleSignup">14<divclass="mb-3">15<material-input-fieldid="name"v-model:value="user.name"label="Name"16name="name"/>17</div>18<divclass="mb-3">19<material-input-fieldid="email"v-model:value="user.email"type="email"20label="Email"name="email"/>21</div>22<divclass="mb-3">23<material-input-fieldid="password"v-model:value="user.password"type="password"24label="Password"name="password"/>25</div>26<divclass="mb-3">27<material-input-fieldid="confirmPassword"v-model:value="user.confirmPassword"28type="password"label="Confirm Password"name="confirmPassword"/>29</div>30<material-checkbox-fieldid="flexCheckDefault"v-model:checked="termsChecked"31name="checkbox">32I agree the
33<ahref="../../../pages/privacy.html"class="text-dark font-weight-bolder">Terms and
34 Conditions</a>35</material-checkbox-field>36<divclass="text-center">37<material-buttoncolor="success"variant="gradient"full-width38class="mt-4 mb-0">Sign up</material-button>39</div>40</Form>41</div>42<divclass="card-footer text-center pt-0 px-sm-4 px-1">43<pclass="mb-4 mx-auto">44 Already have an account?45<router-link:to="{ name: 'Login' }"46class="text-success text-gradient font-weight-bold">Sign in</router-link>47</p>48</div>49</div>