This commit is contained in:
啊平 2021-01-12 10:37:46 +08:00
parent c9ccd2a754
commit bc5e260516
2 changed files with 23 additions and 0 deletions

18
src/app/view/welcome.html Normal file
View File

@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>COOL-AMIND 通用后台管理系统</title>
<meta name="keywords" content="cool-admin后台管理系统vueelement-uinodejs" />
<meta name="description" content="element-ui、egg.js、mysql、redis、node.js、前后端分离、权限管理、快速开发 COOL-AMIND 通用后台管理系统" />
<link rel="stylesheet" href="css/welcome.css">
<body>
<div class="reveal">{{text}}</div>
<script src="js/welcome.js"></script>
</body>
</html>

View File

@ -1,4 +1,5 @@
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
import * as path from 'path';
export type DefaultConfig = PowerPartial<EggAppConfig>;
@ -11,5 +12,9 @@ export default (appInfo: EggAppInfo) => {
// add your config here
config.middleware = [];
config.view = {
root: path.join(appInfo.baseDir, 'view'),
}
return config;
};