@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico" />
<link rel="icon" href="/LG.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vue3后台管理系统</title>
</head>
After
Width: 500 | Height: 500 | Size: 21 KiB
@ -10,7 +10,7 @@ NProgress.configure({
const router = createRouter({
// history: createWebHashHistory(),
history: createWebHashHistory('/vue-management-template/'),
routes: [{
path: '/',
redirect: '/login'
@ -16,12 +16,12 @@ module.exports = {
* 在生产中服务时的基本公共路径。
* @default '/'
*/
base: '/vue-management-template/',
base: '/vue-management-template/', //github pages
// base:"./",
/**
* 与“根”相关的目录,构建输出将放在其中。如果目录存在,它将在构建之前被删除。
* @default 'dist'
outDir: 'dist',
// 反向代理
proxy: {
// '/api': {