/*
 * @Author: lixg lixg@dongwu-inc.com
 * @Date: 2022-11-09 09:26:26
 * @LastEditors: lixg lixg@dongwu-inc.com
 * @LastEditTime: 2022-11-21 17:42:59
 * @FilePath: /fe-manage/src/router/index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createRouter, createWebHistory } from 'vue-router';
import routesConfig from './config';
const routes = [
	{
		path: '/',
		name: '首页',
		redirect: '/learningpath'
	},
	...routesConfig
]
const router = createRouter({
	history: createWebHistory(process.env.VUE_APP_BASE),
	routes,

})
export default router