mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2026-01-25 16:48:13 +00:00
111
This commit is contained in:
parent
c9ccd2a754
commit
bc5e260516
18
src/app/view/welcome.html
Normal file
18
src/app/view/welcome.html
Normal 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,后台管理系统,vue,element-ui,nodejs" />
|
||||||
|
<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>
|
||||||
@ -1,4 +1,5 @@
|
|||||||
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
|
import { EggAppConfig, EggAppInfo, PowerPartial } from 'egg';
|
||||||
|
import * as path from 'path';
|
||||||
|
|
||||||
export type DefaultConfig = PowerPartial<EggAppConfig>;
|
export type DefaultConfig = PowerPartial<EggAppConfig>;
|
||||||
|
|
||||||
@ -11,5 +12,9 @@ export default (appInfo: EggAppInfo) => {
|
|||||||
// add your config here
|
// add your config here
|
||||||
config.middleware = [];
|
config.middleware = [];
|
||||||
|
|
||||||
|
config.view = {
|
||||||
|
root: path.join(appInfo.baseDir, 'view'),
|
||||||
|
}
|
||||||
|
|
||||||
return config;
|
return config;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user