fix: all in one
This commit is contained in:
9
projects/bkloan-sg/src/app.ts
Normal file
9
projects/bkloan-sg/src/app.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const qiankun = {
|
||||
apps: [
|
||||
{
|
||||
name: 'app1',
|
||||
entry: '//localhost:8001',
|
||||
},
|
||||
],
|
||||
|
||||
};
|
||||
BIN
projects/bkloan-sg/src/assets/yay.jpg
Normal file
BIN
projects/bkloan-sg/src/assets/yay.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 177 KiB |
10
projects/bkloan-sg/src/layouts/index.less
Normal file
10
projects/bkloan-sg/src/layouts/index.less
Normal file
@@ -0,0 +1,10 @@
|
||||
.navs {
|
||||
ul {
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
display: flex;
|
||||
}
|
||||
li {
|
||||
margin-right: 1em;
|
||||
}
|
||||
}
|
||||
10
projects/bkloan-sg/src/layouts/index.tsx
Normal file
10
projects/bkloan-sg/src/layouts/index.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Link, Outlet } from 'umi';
|
||||
import styles from './index.less';
|
||||
|
||||
export default function Layout() {
|
||||
return (
|
||||
<div className={styles.navs}>
|
||||
<Outlet />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
9
projects/bkloan-sg/src/pages/docs.tsx
Normal file
9
projects/bkloan-sg/src/pages/docs.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
const DocsPage = () => {
|
||||
return (
|
||||
<div>
|
||||
<p>This is umi docs.</p>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default DocsPage;
|
||||
6
projects/bkloan-sg/src/pages/index.less
Normal file
6
projects/bkloan-sg/src/pages/index.less
Normal file
@@ -0,0 +1,6 @@
|
||||
.red2{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 100px;
|
||||
}
|
||||
13
projects/bkloan-sg/src/pages/index.tsx
Normal file
13
projects/bkloan-sg/src/pages/index.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { useTask } from '@lishican/antbank-platform-hooks';
|
||||
import Test from '@lishican/antbank-platform-ui';
|
||||
import { MicroApp } from 'umi';
|
||||
import styles from './index.less';
|
||||
export default function HomePage() {
|
||||
useTask()
|
||||
return (
|
||||
<div>
|
||||
<h2 className={styles.red2}>Yay! Welcome to2 umi!</h2>
|
||||
<Test />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user