Authentication modal component

As previously discussed, rather than building out full login and register pages, including the VueRouter configuration that goes with them, we're going to put our login and register forms into separate tabs within a modal. As this component doesn't really belong to any single page, it doesn't belong in any of our sub-directories beneath ClientApp/components either. Instead, create a ClientApp/components/app directory to hold all of our app-level components, and then create an AuthModal.vue component file inside. The template section for this component looks like this:

<template>  <b-modal v-model="show" hide-header hide-footer    no-close-on-backdrop no-close-on-esc>    <b-tabs v-model="index">      <b-tab title="Login" ...

Get ASP.NET Core 2 and Vue.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.