import { createRouter, createWebHistory } from 'vue-router';

const routes = [
	{
		path: '/',
		name: 'Index',
		component: () => import('@/views/index.vue')
	},
	{
		path: '/lms',
		name: 'Lms',
		component: () => import('@/views/lms/index.vue')
	},
	{
		path: '/login',
		name: 'Login',
		component: () => import('@/views/login.vue')
	},
	{
		path: '/package-station',
		name: 'PackageStation',
		component: () => import('@/views/package-station/index.vue')
	},
	{
		path: '/L1-data',
		name: 'L1Data',
		component: () => import('@/views/L1-data-list/index.vue')
	},
	{
		path: '/L4-data',
		name: 'L4Data',
		component: () => import('@/views/L4-data-list/index.vue')
	},
	{
		path: '/alarm-records',
		name: 'AlarmRecords',
		component: () => import('@/views/alarm-records/index.vue')
	}
];

const router = createRouter({
	history: createWebHistory(),
	routes
});

export default router;