|
@@ -1,6 +1,7 @@
|
|
|
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
|
import HomeView from '../views/HomeView.vue'
|
|
|
import MoreContent from '../views/MoreContent.vue'
|
|
|
+import PaintingDetail from '../views/PaintingDetail'
|
|
|
|
|
|
// import store from '@/store/index.js'
|
|
|
|
|
@@ -20,6 +21,12 @@ const routes = [
|
|
|
component: MoreContent,
|
|
|
// component: TEXT,
|
|
|
},
|
|
|
+ {
|
|
|
+ path: '/painting-detail',
|
|
|
+ name: 'PaintingDetail',
|
|
|
+ component: PaintingDetail,
|
|
|
+ // component: TEXT,
|
|
|
+ },
|
|
|
]
|
|
|
|
|
|
const router = createRouter({
|