first commit
This commit is contained in:
29
src/pages/card/routes.ts
Normal file
29
src/pages/card/routes.ts
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user