@@ -42,6 +42,14 @@ const recruit = [
meta: {
title: '门墩儿商城'
}
+ },
+ {
+ path: '/wareDetails/:id',
+ component: () => import('@/views/mall/components/details.vue'),
+ name: 'wareDetails',
+ meta: {
+ title: '商品详情'
+ }
]
},
@@ -0,0 +1,10 @@
+<!-- 商品详情 -->
+<template>
+ <div>vue3PageInit</div>
+</template>
+
+<script setup>
+defineOptions({name: 'wares-details'})
+</script>
+<style lang="scss" scoped>
+</style>