From d82ca97183845219de6d52deae5e7e09a13d4d67 Mon Sep 17 00:00:00 2001 From: nurafrinaalimi16 Date: Wed, 25 Feb 2026 08:54:22 +0800 Subject: [PATCH] routes for penyata anggota --- resources/assets/js/routes.js | 393 ++++++++++--------- resources/assets/js/routesIndex.js | 607 ++++++++++++++--------------- 2 files changed, 499 insertions(+), 501 deletions(-) diff --git a/resources/assets/js/routes.js b/resources/assets/js/routes.js index 5acfa3a..a491e07 100644 --- a/resources/assets/js/routes.js +++ b/resources/assets/js/routes.js @@ -1,223 +1,238 @@ - import AdminIndex from './components/demo/admin/index.vue'; - import AdminLogin from './components/demo/admin/login.vue'; - - import test from './components/demo/admin/position/test.vue'; - import FinalResult from './components/demo/admin/home/final.vue'; +import AdminIndex from "./components/demo/admin/index.vue"; +import AdminLogin from "./components/demo/admin/login.vue"; - import ManageElection from './components/demo/admin/home/home.vue'; - import ManageElectionIndex from './components/demo/admin/home/index.vue'; - import ManageElectionResult from './components/demo/admin/home/result.vue'; +import test from "./components/demo/admin/position/test.vue"; +import FinalResult from "./components/demo/admin/home/final.vue"; - import ManagePosition from './components/demo/admin/position/position.vue'; - import ManagePositionIndex from './components/demo/admin/position/index.vue'; - import ManagePositionAdd from './components/demo/admin/position/add.vue'; - import ManagePositionEdit from './components/demo/admin/position/edit.vue'; +import ManageElection from "./components/demo/admin/home/home.vue"; +import ManageElectionIndex from "./components/demo/admin/home/index.vue"; +import ManageElectionResult from "./components/demo/admin/home/result.vue"; - import ManagePartylist from './components/demo/admin/partylist/partylist.vue'; - import ManagePartylistIndex from './components/demo/admin/partylist/index.vue'; - import ManagePartylistAdd from './components/demo/admin/partylist/add.vue'; - import ManagePartylistEdit from './components/demo/admin/partylist/edit.vue'; +import ManagePosition from "./components/demo/admin/position/position.vue"; +import ManagePositionIndex from "./components/demo/admin/position/index.vue"; +import ManagePositionAdd from "./components/demo/admin/position/add.vue"; +import ManagePositionEdit from "./components/demo/admin/position/edit.vue"; - import ManageVoter from './components/demo/admin/voter/voter.vue'; - import ManageVoterIndex from './components/demo/admin/voter/index.vue'; - import ManageVoterAdd from './components/demo/admin/voter/add.vue'; - import ManageVoterEdit from './components/demo/admin/voter/edit.vue'; +import ManagePartylist from "./components/demo/admin/partylist/partylist.vue"; +import ManagePartylistIndex from "./components/demo/admin/partylist/index.vue"; +import ManagePartylistAdd from "./components/demo/admin/partylist/add.vue"; +import ManagePartylistEdit from "./components/demo/admin/partylist/edit.vue"; - import ManageNominee from './components/demo/admin/nominee/nominee.vue'; - import ManageNomineeIndex from './components/demo/admin/nominee/index.vue'; - import ManageNomineeAdd from './components/demo/admin/nominee/add.vue'; - import ManageNomineeEdit from './components/demo/admin/nominee/edit.vue'; +import ManageVoter from "./components/demo/admin/voter/voter.vue"; +import ManageVoterIndex from "./components/demo/admin/voter/index.vue"; +import ManageVoterAdd from "./components/demo/admin/voter/add.vue"; +import ManageVoterEdit from "./components/demo/admin/voter/edit.vue"; + +import ManageNominee from "./components/demo/admin/nominee/nominee.vue"; +import ManageNomineeIndex from "./components/demo/admin/nominee/index.vue"; +import ManageNomineeAdd from "./components/demo/admin/nominee/add.vue"; +import ManageNomineeEdit from "./components/demo/admin/nominee/edit.vue"; + +import ManageAccount from "./components/demo/admin/admin/admin.vue"; +import ManageAccountIndex from "./components/demo/admin/admin/index.vue"; +import ManageAccountEdit from "./components/demo/admin/admin/edit.vue"; +import ManageAccountPassword from "./components/demo/admin/admin/password.vue"; +import ManageAccountAdd from "./components/demo/admin/admin/add.vue"; + +import ManagePenyata from './components/demo/admin/penyata/penyata.vue'; +import ManagePenyataIndex from './components/demo/admin/penyata/index.vue'; +import ManagePenyataView from './components/demo/admin/penyata/view.vue'; - import ManageAccount from './components/demo/admin/admin/admin.vue'; - import ManageAccountIndex from './components/demo/admin/admin/index.vue'; - import ManageAccountEdit from './components/demo/admin/admin/edit.vue'; - import ManageAccountPassword from './components/demo/admin/admin/password.vue'; - import ManageAccountAdd from './components/demo/admin/admin/add.vue'; const default_component = { - template: '
Not found: {{ $route.path }}
' -} + template: "
Not found: {{ $route.path }}
", +}; const routes = [ + { + path: "/", + component: AdminIndex, + children: [ + { + path: "result/:election_id", + component: FinalResult, + name: "Election Result", + }, - { - path: '/', - component: AdminIndex, - children: [ + { + path: "penyata", + component: ManagePenyata, + children: [ + { + path: "", + component: ManagePenyataIndex, + name: "Manage Penyata", + }, + { + path: "view/:no_anggota", + component: ManagePenyataView, + name: "View Penyata", + }, + ], + }, - { - path: 'result/:election_id', - component: FinalResult, - name: 'Election Result' - }, + { + path: "", + component: ManageElection, + children: [ + { + path: "", + component: ManageElectionIndex, + name: "Admin Home", + }, - { - path: '', - component: ManageElection, - children: [ + { + path: "result", + component: ManageElectionResult, + name: "Result", + }, + ], + }, - { - path: '', - component: ManageElectionIndex, - name: 'Admin Home' - }, + { + path: "position", + component: ManagePosition, + children: [ + { + path: "", + component: ManagePositionIndex, + name: "Kemaskini Jawatan", + }, - { - path: 'result', - component: ManageElectionResult, - name: 'Result' - } + { + path: "add", + component: ManagePositionAdd, + name: "Tambah Jawatan", + }, - ] - }, + { + path: "edit/:id", + component: ManagePositionEdit, + name: "Edit Position", + }, + ], + }, - { - path: 'position', - component: ManagePosition, - children: [ - - { - path:'', - component: ManagePositionIndex, - name: 'Kemaskini Jawatan' - }, + { + path: "partylist", + component: ManagePartylist, + children: [ + { + path: "", + component: ManagePartylistIndex, + name: "Manage Partylist", + }, - { - path:'add', - component: ManagePositionAdd, - name: 'Tambah Jawatan' - }, + { + path: "add", + component: ManagePartylistAdd, + name: "Add Partylist", + }, - { - path: 'edit/:id', - component: ManagePositionEdit, - name: 'Edit Position' - } - ] - }, + { + path: "edit/:id", + component: ManagePartylistEdit, + name: "Edit Partylist", + }, + ], + }, - { - path: 'partylist', - component: ManagePartylist, - children: [ + { + path: "voter", + component: ManageVoter, + children: [ + { + path: "", + component: ManageVoterIndex, + name: "Manage Voter", + }, - { - path: '', - component: ManagePartylistIndex, - name: 'Manage Partylist' - }, + { + path: "add", + component: ManageVoterAdd, + name: "Tambah Pengundi", + }, - { - path: 'add', - component: ManagePartylistAdd, - name: 'Add Partylist' - }, + { + path: "edit/:id", + component: ManageVoterEdit, + name: "Edit Voter", + }, + ], + }, - { - path: 'edit/:id', - component: ManagePartylistEdit, - name: 'Edit Partylist' - } + { + path: "nominee", + component: ManageNominee, + children: [ + { + path: "", + component: ManageNomineeIndex, + name: "Maklumat Calon", + }, - ] - }, + { + path: "add", + component: ManageNomineeAdd, + name: "Tambah Calon", + }, - { - path: 'voter', - component: ManageVoter, - children: [ + { + path: "edit/:id", + component: ManageNomineeEdit, + name: "Edit Nominee", + }, + ], + }, - { - path: '', - component: ManageVoterIndex, - name: 'Manage Voter' - }, + { + path: "/account", + component: ManageAccount, + children: [ + { + path: "", + component: ManageAccountIndex, + name: "Manage Account", + }, - { - path: 'add', - component: ManageVoterAdd, - name: 'Tambah Pengundi' - }, + { + path: "update", + component: ManageAccountEdit, + name: "Update Account", + }, - { - path: 'edit/:id', - component: ManageVoterEdit, - name: 'Edit Voter' - } + { + path: "password", + component: ManageAccountPassword, + name: "Update Password", + }, - ] - }, + { + path: "add", + component: ManageAccountAdd, + name: "Add Account", + }, + ], + }, + ], + }, - { - path: 'nominee', - component: ManageNominee, - children: [ + { + path: "/login", + component: AdminLogin, + name: "Admin Login", + }, - { - path: '', - component: ManageNomineeIndex, - name: 'Maklumat Calon' - }, + { + path: "/test", + component: test, + }, - { - path: 'add', - component: ManageNomineeAdd, - name: 'Tambah Calon' - }, - - { - path: 'edit/:id', - component: ManageNomineeEdit, - name: 'Edit Nominee' - } - - ] - }, - - { - path: '/account', - component: ManageAccount, - children: [ - - { - path: '', - component: ManageAccountIndex, - name: 'Manage Account' - }, - - { - path: 'update', - component: ManageAccountEdit, - name: 'Update Account' - }, - - { - path: 'password', - component: ManageAccountPassword, - name: 'Update Password' - }, - - { - path: 'add', - component: ManageAccountAdd, - name: 'Add Account' - } - - ] - } - ] - }, - - { - path: '/login', - component: AdminLogin, - name: 'Admin Login' - }, - - { - path: '/test', - component: test - } + { + path: "/penyata/:id", + name: "penyataView", + component: () => import("@/views/penyata.vue"), + }, ]; -export default routes; \ No newline at end of file +export default routes; diff --git a/resources/assets/js/routesIndex.js b/resources/assets/js/routesIndex.js index f80a269..b8be37e 100644 --- a/resources/assets/js/routesIndex.js +++ b/resources/assets/js/routesIndex.js @@ -1,364 +1,347 @@ -import VoterLogin from './components/demo/voter/login.vue'; -import VoterVerification from './components/demo/voter/verification.vue'; +import VoterLogin from "./components/demo/voter/login.vue"; +import VoterVerification from "./components/demo/voter/verification.vue"; -import VoterHome from './components/demo/voter/index.vue'; +import VoterHome from "./components/demo/voter/index.vue"; -import Home from './components/demo/voter/home/index.vue'; -import Mat from './components/demo/voter/home/mat.vue'; -import Vote from './components/demo/voter/home/vote.vue'; -import Result from './components/demo/voter/home/result.vue'; -import Attendance from './components/demo/voter/home/attendance.vue'; -import Zoom from './components/demo/voter/home/zoom.vue'; -import Penyata from './components/demo/voter/home/penyata.vue'; +import Home from "./components/demo/voter/home/index.vue"; +import Mat from "./components/demo/voter/home/mat.vue"; +import Vote from "./components/demo/voter/home/vote.vue"; +import Result from "./components/demo/voter/home/result.vue"; +import Attendance from "./components/demo/voter/home/attendance.vue"; +import Zoom from "./components/demo/voter/home/zoom.vue"; +import Penyata from "./components/demo/voter/home/penyata.vue"; -import AdminLogin from './components/demo/admin/login.vue'; -import AdminIndex from './components/demo/admin/index.vue'; +import AdminLogin from "./components/demo/admin/login.vue"; +import AdminIndex from "./components/demo/admin/index.vue"; - import FinalResult from './components/demo/admin/home/final.vue'; +import FinalResult from "./components/demo/admin/home/final.vue"; - import ManageElection from './components/demo/admin/home/home.vue'; - import ManageElectionIndex from './components/demo/admin/home/index.vue'; - import ManageElectionResult from './components/demo/admin/home/result.vue'; +import ManageElection from "./components/demo/admin/home/home.vue"; +import ManageElectionIndex from "./components/demo/admin/home/index.vue"; +import ManageElectionResult from "./components/demo/admin/home/result.vue"; - import ManagePosition from './components/demo/admin/position/position.vue'; - import ManagePositionIndex from './components/demo/admin/position/index.vue'; - import ManagePositionAdd from './components/demo/admin/position/add.vue'; - import ManagePositionEdit from './components/demo/admin/position/edit.vue'; +import ManagePosition from "./components/demo/admin/position/position.vue"; +import ManagePositionIndex from "./components/demo/admin/position/index.vue"; +import ManagePositionAdd from "./components/demo/admin/position/add.vue"; +import ManagePositionEdit from "./components/demo/admin/position/edit.vue"; - import ManagePartylist from './components/demo/admin/partylist/partylist.vue'; - import ManagePartylistIndex from './components/demo/admin/partylist/index.vue'; - import ManagePartylistAdd from './components/demo/admin/partylist/add.vue'; - import ManagePartylistEdit from './components/demo/admin/partylist/edit.vue'; +import ManagePartylist from "./components/demo/admin/partylist/partylist.vue"; +import ManagePartylistIndex from "./components/demo/admin/partylist/index.vue"; +import ManagePartylistAdd from "./components/demo/admin/partylist/add.vue"; +import ManagePartylistEdit from "./components/demo/admin/partylist/edit.vue"; - import ManageVoter from './components/demo/admin/voter/voter.vue'; - import ManageVoterIndex from './components/demo/admin/voter/index.vue'; - import ManageVoterAdd from './components/demo/admin/voter/add.vue'; - import ManageVoterEdit from './components/demo/admin/voter/edit.vue'; - import KehadiranCalon from './components/demo/admin/voter/kehadiran.vue'; - import KehadiranCalonFizikal from './components/demo/admin/voter/fizikal.vue'; - import KehadiranCalonMaya from './components/demo/admin/voter/maya.vue'; - import ViewKehadiranCalon from './components/demo/admin/voter/viewkehadiran.vue'; +import ManageVoter from "./components/demo/admin/voter/voter.vue"; +import ManageVoterIndex from "./components/demo/admin/voter/index.vue"; +import ManageVoterAdd from "./components/demo/admin/voter/add.vue"; +import ManageVoterEdit from "./components/demo/admin/voter/edit.vue"; +import KehadiranCalon from "./components/demo/admin/voter/kehadiran.vue"; +import KehadiranCalonFizikal from "./components/demo/admin/voter/fizikal.vue"; +import KehadiranCalonMaya from "./components/demo/admin/voter/maya.vue"; +import ViewKehadiranCalon from "./components/demo/admin/voter/viewkehadiran.vue"; +import ManageNominee from "./components/demo/admin/nominee/nominee.vue"; +import ManageNomineeIndex from "./components/demo/admin/nominee/index.vue"; +import ManageNomineeAdd from "./components/demo/admin/nominee/add.vue"; +import ManageNomineeEdit from "./components/demo/admin/nominee/edit.vue"; - import ManageNominee from './components/demo/admin/nominee/nominee.vue'; - import ManageNomineeIndex from './components/demo/admin/nominee/index.vue'; - import ManageNomineeAdd from './components/demo/admin/nominee/add.vue'; - import ManageNomineeEdit from './components/demo/admin/nominee/edit.vue'; +import ManageAccount from "./components/demo/admin/admin/admin.vue"; +import ManageAccountIndex from "./components/demo/admin/admin/index.vue"; +import ManageAccountEdit from "./components/demo/admin/admin/edit.vue"; +import ManageAccountPassword from "./components/demo/admin/admin/password.vue"; +import ManageAccountAdd from "./components/demo/admin/admin/add.vue"; - import ManageAccount from './components/demo/admin/admin/admin.vue'; - import ManageAccountIndex from './components/demo/admin/admin/index.vue'; - import ManageAccountEdit from './components/demo/admin/admin/edit.vue'; - import ManageAccountPassword from './components/demo/admin/admin/password.vue'; - import ManageAccountAdd from './components/demo/admin/admin/add.vue'; - -import ManagePembiayaan from './components/demo/admin/admin/pembiayaan.vue'; -import ManageBelianKomoditi from './components/demo/admin/admin/beliankomoditi.vue'; -import ManageKontrakMurabahah from './components/demo/admin/admin/kontrakmurabahah.vue'; -import CetakPermohonan from './components/demo/admin/admin/cetakpermohonan.vue'; - +import ManagePembiayaan from "./components/demo/admin/admin/pembiayaan.vue"; +import ManageBelianKomoditi from "./components/demo/admin/admin/beliankomoditi.vue"; +import ManageKontrakMurabahah from "./components/demo/admin/admin/kontrakmurabahah.vue"; +import CetakPermohonan from "./components/demo/admin/admin/cetakpermohonan.vue"; +import ManagePenyata from "./components/demo/admin/admin/penyata-anggota.vue"; const default_component = { - template: '
Not found: {{ $route.path }}
' -} - - + template: "
Not found: {{ $route.path }}
", +}; export default [ - { - path: '/', - component: VoterHome, - children: [ + { + path: "/", + component: VoterHome, + children: [ + { + path: "", + component: Home, + name: "Voter Home", + }, - { - path: '', - component: Home, - name: 'Voter Home' - }, + { + path: "mat27", + component: Mat, + name: "Mat", + }, - { - path: 'mat27', - component: Mat, - name: 'Mat' - }, + { + path: "vote", + component: Vote, + name: "Vote", + }, - { - path: 'vote', - component: Vote, - name: 'Vote' - }, + { + path: "result", + component: Result, + name: "Result", + }, - { - path: 'result', - component: Result, - name: 'Result' - }, + { + path: "attendance", + component: Attendance, + name: "Attendance", + }, - { - path: 'attendance', - component: Attendance, - name: 'Attendance' - }, + { + path: "zoom", + component: Zoom, + name: "Zoom", + }, - { - path: 'zoom', - component: Zoom, - name: 'Zoom' - }, + { + path: "/penyata/:no_anggota", + name: "penyata", + component: Penyata, + }, + ], + }, - { - path: 'penyata', - component: Penyata, - name: 'Penyata' - } + { + path: "/login", + component: VoterLogin, + name: "Voter Login", + }, - ] + { + path: "/verification", + component: VoterVerification, + name: "Voter Verify", + }, - }, + { + path: "/admin/login", + component: AdminLogin, + name: "Admin Login", + }, + { + path: "/admin", + component: AdminIndex, + children: [ + { + path: "result/:election_id", + component: FinalResult, + name: "Election Result", + }, - { - path: '/login', - component: VoterLogin, - name: 'Voter Login' - }, + { + path: "", + component: ManageElection, + children: [ + { + path: "", + component: ManageElectionIndex, + name: "Admin Home", + }, - { - path: '/verification', - component: VoterVerification, - name: 'Voter Verify' - }, + { + path: "result", + component: ManageElectionResult, + name: "Current Result", + }, + ], + }, - { - path: '/admin/login', - component: AdminLogin, - name: 'Admin Login' - }, + { + path: "position", + component: ManagePosition, + children: [ + { + path: "", + component: ManagePositionIndex, + name: "Kemaskini Jawatan", + }, - { - path: '/admin', - component: AdminIndex, - children: [ + { + path: "add", + component: ManagePositionAdd, + name: "Tambah Jawatan", + }, - { - path: 'result/:election_id', - component: FinalResult, - name: 'Election Result' - }, + { + path: "edit/:id", + component: ManagePositionEdit, + name: "Edit Position", + }, + ], + }, - { - path: '', - component: ManageElection, - children: [ + { + path: "partylist", + component: ManagePartylist, + children: [ + { + path: "", + component: ManagePartylistIndex, + name: "Manage Partylist", + }, - { - path: '', - component: ManageElectionIndex, - name: 'Admin Home' - }, + { + path: "add", + component: ManagePartylistAdd, + name: "Add Partylist", + }, - { - path: 'result', - component: ManageElectionResult, - name: 'Current Result' - } + { + path: "edit/:id", + component: ManagePartylistEdit, + name: "Edit Partylist", + }, + ], + }, - ] - }, + { + path: "voter", + component: ManageVoter, + children: [ + { + path: "", + component: ManageVoterIndex, + name: "Manage Voter", + }, - { - path: 'position', - component: ManagePosition, - children: [ - - { - path:'', - component: ManagePositionIndex, - name: 'Kemaskini Jawatan' - }, + { + path: "add", + component: ManageVoterAdd, + name: "Tambah Pengundi", + }, - { - path:'add', - component: ManagePositionAdd, - name: 'Tambah Jawatan' - }, + { + path: "edit/:id", + component: ManageVoterEdit, + name: "Edit Voter", + }, - { - path: 'edit/:id', - component: ManagePositionEdit, - name: 'Edit Position' - } - ] - }, + { + path: "kehadiran", + component: KehadiranCalon, + name: "Kehadiran Calon", + }, - { - path: 'partylist', - component: ManagePartylist, - children: [ + { + path: "fizikal", + component: KehadiranCalonFizikal, + name: "Fizikal", + }, - { - path: '', - component: ManagePartylistIndex, - name: 'Manage Partylist' - }, + { + path: "maya", + component: KehadiranCalonMaya, + name: "Maya", + }, - { - path: 'add', - component: ManagePartylistAdd, - name: 'Add Partylist' - }, + { + path: "viewkehadiran", + component: ViewKehadiranCalon, + name: "Calon Hadir", + }, + ], + }, - { - path: 'edit/:id', - component: ManagePartylistEdit, - name: 'Edit Partylist' - } + { + path: "nominee", + component: ManageNominee, + children: [ + { + path: "", + component: ManageNomineeIndex, + name: "Maklumat Calon", + }, - ] - }, + { + path: "add", + component: ManageNomineeAdd, + name: "Tambah Calon", + }, - { - path: 'voter', - component: ManageVoter, - children: [ + { + path: "edit/:id", + component: ManageNomineeEdit, + name: "Edit Nominee", + }, + ], + }, - { - path: '', - component: ManageVoterIndex, - name: 'Manage Voter' - }, + { + path: "/account", + component: ManageAccount, + children: [ + { + path: "", + component: ManageAccountIndex, + name: "Manage Account", + }, - { - path: 'add', - component: ManageVoterAdd, - name: 'Tambah Pengundi' - }, + { + path: "update", + component: ManageAccountEdit, + name: "Update Account", + }, - { - path: 'edit/:id', - component: ManageVoterEdit, - name: 'Edit Voter' - }, + { + path: "password", + component: ManageAccountPassword, + name: "Update Password", + }, - { - path: 'kehadiran', - component: KehadiranCalon, - name: 'Kehadiran Calon' - }, + { + path: "add", + component: ManageAccountAdd, + name: "Add Account", + }, - { - path: 'fizikal', - component: KehadiranCalonFizikal, - name: 'Fizikal' - }, + { + path: "/pembiayaan", + name: "Pembiayaan", + component: ManagePembiayaan, + }, - { - path: 'maya', - component: KehadiranCalonMaya, - name: 'Maya' - }, + { + path: "/beliankomoditi", + name: "BelianKomoditi", + component: ManageBelianKomoditi, + }, - { - path: 'viewkehadiran', - component: ViewKehadiranCalon, - name: 'Calon Hadir' - }, + { + path: "/kontrakmurabahah", + name: "KontrakMurabahah", + component: ManageKontrakMurabahah, + }, + { + path: "/cetakpermohonan", + name: "CetakPermohonan", + component: CetakPermohonan, + }, - ] - }, + { + path: "/penyata-anggota", + name: "Penyata Anggota", + component: ManagePenyata, + }, - { - path: 'nominee', - component: ManageNominee, - children: [ - - { - path: '', - component: ManageNomineeIndex, - name: 'Maklumat Calon' - }, - - { - path: 'add', - component: ManageNomineeAdd, - name: 'Tambah Calon' - }, - - { - path: 'edit/:id', - component: ManageNomineeEdit, - name: 'Edit Nominee' - } - - ] - }, - - { - path: '/account', - component: ManageAccount, - children: [ - - { - path: '', - component: ManageAccountIndex, - name: 'Manage Account' - }, - - { - path: 'update', - component: ManageAccountEdit, - name: 'Update Account' - }, - - { - path: 'password', - component: ManageAccountPassword, - name: 'Update Password' - }, - - { - path: 'add', - component: ManageAccountAdd, - name: 'Add Account' - }, - - { - path: '/pembiayaan', - name: 'Pembiayaan', - component: ManagePembiayaan - - - }, - - { - path: '/beliankomoditi', - name: 'BelianKomoditi', - component: ManageBelianKomoditi - }, - - { - path: '/kontrakmurabahah', - name: 'KontrakMurabahah', - component: ManageKontrakMurabahah - }, - { - path: '/cetakpermohonan', - name: 'CetakPermohonan', - component: CetakPermohonan - }, - - - { - path: '/:pathMatch(.*)*', - name: 'NotFound', - component: { - template: '
Not found: {{ $route.path }}
' - } - } - - - - ] - } - ] - } -] \ No newline at end of file + { + path: "/:pathMatch(.*)*", + name: "NotFound", + component: { + template: + '
Not found: {{ $route.path }}
', + }, + }, + ], + }, + ], + }, +];