This commit is contained in:
Kiran Surendran Pankan
2025-04-02 16:12:04 +05:30
parent 68a7bd526f
commit 05be85f9b1
11 changed files with 484 additions and 307 deletions
+42 -1
View File
@@ -1,7 +1,48 @@
import { createRouter, createWebHistory } from 'vue-router';
// Import all view components
import Dashboard from '../views/Dashboard.vue';
import Jobs from '../views/Jobs.vue';
import Applications from '../views/Applications.vue';
import SavedJobs from '../views/SavedJobs.vue';
import Profile from '../views/Profile.vue';
import Settings from '../views/Settings.vue';
const routes = [
// Add your routes here
{
path: '/',
redirect: '/dashboard'
},
{
path: '/dashboard',
name: 'dashboard',
component: Dashboard
},
{
path: '/jobs',
name: 'jobs',
component: Jobs
},
{
path: '/applications',
name: 'applications',
component: Applications
},
{
path: '/saved',
name: 'saved',
component: SavedJobs
},
{
path: '/profile',
name: 'profile',
component: Profile
},
{
path: '/settings',
name: 'settings',
component: Settings
}
];
const router = createRouter({