Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. import Vue from 'vue';
  2. import Router from 'vue-router';
  3. import HomePage from '../components/home/homePage.vue';
  4. import TimeshareBuy from '../components/timeshare/buy/buyPage.vue';
  5. import TimeshareSell from '../components/timeshare/sell/sellPage.vue';
  6. import TimeshareFAQ from '../components/timeshare/faqPage.vue';
  7. import Login from '../components/user/loginPage.vue';
  8. import PrivateIndividual from '../components/user/registerPage.vue';
  9. import Agency from '../components/user/registerAgencySection.vue';
  10. import PropertySearch from '../components/property/propertySearchPage.vue';
  11. import PropertyPage from '../components/property/propertyPage.vue';
  12. import PropertyEdit from '../components/property/propertyeditPage.vue';
  13. import AboutUs from '../components/about/aboutUsPage.vue';
  14. import AboutTimeshare from '../components/about/aboutTimeshare.vue';
  15. import Status from '../components/admin/status/statusPage.vue';
  16. import timeshareAdminPage from '../components/admin/status/timeshareAdminPage.vue';
  17. import tenderWeekAdminPage from '../components/admin/status/tenderWeekAdminPage.vue';
  18. import userManagementPage from '../components/admin/status/userManagementPage.vue';
  19. import changeLogPage from '../components/admin/status/changeLogPage.vue';
  20. import UnitConfiguration from '../components/admin/unitConfiguration/unitConfigurationPage.vue';
  21. import ResortPage from '../components/timeshare/resort/resortPage.vue';
  22. import UnitPage from '../components/timeshare/resort/unitPage.vue';
  23. import ContactUs from '../components/misc/contactUs.vue';
  24. import PrivacyPolicy from '../components/misc/privacyPolicyPage.vue';
  25. Vue.use(Router);
  26. export default new Router({
  27. routes: [{
  28. path: '/',
  29. name: 'Home',
  30. component: HomePage,
  31. },
  32. {
  33. path: '/about/us',
  34. name: 'aboutus',
  35. component: AboutUs,
  36. },
  37. {
  38. path: '/about/timeshare',
  39. name: 'abouttimeshare',
  40. component: AboutTimeshare,
  41. },
  42. {
  43. path: '/timeshare/sell',
  44. name: 'TimeshareSell',
  45. component: TimeshareSell,
  46. },
  47. {
  48. path: '/timeshare/buy',
  49. name: 'TimeshareBuy',
  50. component: TimeshareBuy,
  51. },
  52. {
  53. path: '/timeshare/faq',
  54. name: 'TimeshareFAQ',
  55. component: TimeshareFAQ,
  56. },
  57. {
  58. path: '/user/login',
  59. name: 'Login',
  60. component: Login,
  61. },
  62. {
  63. path: '/user/register',
  64. name: 'PrivateIndividual',
  65. component: PrivateIndividual,
  66. },
  67. {
  68. path: '/user/registeragency',
  69. name: 'Agency',
  70. component: Agency,
  71. },
  72. {
  73. path: '/property/property/:id',
  74. name: 'PropertyPage',
  75. component: PropertyPage,
  76. },
  77. {
  78. path: '/property/:propertyType/search',
  79. name: 'PropertySearch',
  80. component: PropertySearch,
  81. },
  82. {
  83. path: '/property/search',
  84. name: 'PropertySearchTab',
  85. component: PropertySearch,
  86. },
  87. {
  88. path: '/property/:propType/:saleType',
  89. name: 'PropertyEdit',
  90. component: PropertyEdit,
  91. },
  92. {
  93. path: '/status/list',
  94. name: 'StatusList',
  95. component: Status,
  96. },
  97. {
  98. path: '/status/timeshareAdmin',
  99. name: 'TimeshareAdmin',
  100. component: timeshareAdminPage,
  101. },
  102. {
  103. path: '/status/tenderWeekAdmin',
  104. name: 'TenderWeekAdmin',
  105. component: tenderWeekAdminPage,
  106. },
  107. {
  108. path: '/status/userManagementPage',
  109. name: 'userManagementPage',
  110. component: userManagementPage,
  111. },
  112. {
  113. path: '/status/changeLogPage',
  114. name: 'changeLogPage',
  115. component: changeLogPage,
  116. },
  117. {
  118. path: '/unitConfiguration/list',
  119. name: 'UnitConfiguration',
  120. component: UnitConfiguration,
  121. },
  122. {
  123. path: '/contactus',
  124. name: 'ContactUs',
  125. component: ContactUs,
  126. },
  127. {
  128. path: '/privacypolicy',
  129. name: 'PrivacyPolicy',
  130. component: PrivacyPolicy,
  131. },
  132. {
  133. path: '/resort/:resortCode',
  134. name: 'ResortPage',
  135. component: ResortPage,
  136. props: true,
  137. },
  138. {
  139. path: '/resort/:resortCode/:weekId',
  140. name: 'UnitPage',
  141. component: UnitPage,
  142. props: true,
  143. },
  144. ],
  145. });