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

index.js 751 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. import Uploader from '../components/Uploader.vue'
  4. import Chunk from '../components/Chunk.vue'
  5. import Md5 from '../components/Md5.vue'
  6. import Skip from '../components/Skip.vue'
  7. import Breakpoint from '../components/Breakpoint.vue'
  8. Vue.use(Router)
  9. export default new Router({
  10. routes: [
  11. {
  12. path: '/',
  13. name: 'uploader',
  14. component: Uploader
  15. },
  16. {
  17. path: '/chunk',
  18. name: 'chunk',
  19. component: Chunk
  20. },
  21. {
  22. path: '/skip',
  23. name: 'skip',
  24. component: Skip
  25. },
  26. {
  27. path: '/md5',
  28. name: 'md5',
  29. component: Md5
  30. },
  31. {
  32. path: '/breakpoint',
  33. name: 'breakpoint',
  34. component: Breakpoint
  35. },
  36. ]
  37. })