In this part, we will create the <template> section of the single file component. Follow these instructions to create the component correctly:
- We need to wrap the VsCard component and its child contents with a VsRow and VsCol component. The VsCol component will have the vs-type attribute defined as 'flex', vs-justify defined as 'left', vs-align defined as 'left', and vs-w defined as 12:
<template>
<vs-row>
<vs-col
vs-type="flex"
vs-justify="left"
vs-align="left"
vs-w="12">
<vs-card... />
</vs-col>
</vs-row>
</template>
- On the VsCard footer, we need to change the Cancel button's change Component functions to changeRoute:
<vs-button
color="danger"
type="filled"
icon="cancel"
size="small"
style="margin-left: 5px"
@click="...