东西湖大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
512 B

3 years ago
3 years ago
3 years ago
3 years ago
  1. import Vue from 'vue'
  2. import VueRouter from 'vue-router'
  3. Vue.use(VueRouter)
  4. const routes = [
  5. {
  6. path: '/',
  7. name: 'index',
  8. component: () => import('../views/index.vue'),
  9. meta: {
  10. title: '智慧大屏'
  11. }
  12. },
  13. {
  14. path: '/selfServiceLibrary',
  15. name: 'selfServiceLibrary',
  16. component: () => import('../views/indexSelfService.vue'),
  17. meta: {
  18. title: '24小时自助图书馆'
  19. }
  20. }
  21. ]
  22. const router = new VueRouter({
  23. mode: 'hash',
  24. routes
  25. })
  26. export default router