diff --git a/src/router/index.js b/src/router/index.js index 6d3af9c..93fd49e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -10,6 +10,7 @@ import viewgird from './viewGird' import store from '../store/index' import redirect from './redirect' import charts from './charts' +import links from './outlink' const routes = [{ path: '/', name: 'index', @@ -22,6 +23,7 @@ const routes = [{ ...viewgird, ...redirect, ...charts, + ...links, //外链 // { // path: '/home', // name: 'home', diff --git a/src/router/outlink.js b/src/router/outlink.js new file mode 100644 index 0000000..1739c97 --- /dev/null +++ b/src/router/outlink.js @@ -0,0 +1,8 @@ + +let links=[ + { + path: '/heart', + name: 'heart', + component: () => import('@/views/outlink/heart/index.vue') + }] +export default links \ No newline at end of file diff --git a/src/views/outlink/heart/index.vue b/src/views/outlink/heart/index.vue new file mode 100644 index 0000000..ea659e8 --- /dev/null +++ b/src/views/outlink/heart/index.vue @@ -0,0 +1,28 @@ + + + \ No newline at end of file