30 lines
511 B
TypeScript
Executable File
30 lines
511 B
TypeScript
Executable File
|
|
|
|
import CardHome from '../card/home.vue';
|
|
import AddCardCreate from '../card/addcard.vue';
|
|
import EditCard from "./editcard.vue";
|
|
|
|
|
|
const cardRoutes = [
|
|
{
|
|
path: '/card',
|
|
name: 'cardhome',
|
|
component: CardHome,
|
|
},
|
|
|
|
{
|
|
path: '/card/add/:id',
|
|
name: 'cardadd',
|
|
component: AddCardCreate,
|
|
},
|
|
{
|
|
path: '/card/edit/:id',
|
|
name: 'cardedit',
|
|
component: EditCard,
|
|
},
|
|
|
|
]
|
|
|
|
export default cardRoutes
|
|
//sourceMappingURL=index.ts.map
|