fix: all in one

This commit is contained in:
2023-04-15 15:25:33 +08:00
parent b2627a6b62
commit ebecea5d89
69 changed files with 36903 additions and 35905 deletions

View File

@@ -0,0 +1,9 @@
export const qiankun = {
apps: [
{
name: 'app1',
entry: '//localhost:8001',
},
],
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

View File

@@ -0,0 +1,10 @@
.navs {
ul {
padding: 0;
list-style: none;
display: flex;
}
li {
margin-right: 1em;
}
}

View 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>
);
}

View File

@@ -0,0 +1,9 @@
const DocsPage = () => {
return (
<div>
<p>This is umi docs.</p>
</div>
);
};
export default DocsPage;

View File

@@ -0,0 +1,6 @@
.red2{
display: flex;
justify-content: center;
align-items: center;
font-size: 100px;
}

View 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>
);
}