create-umi 4.0.0-canary.20220624.1 → 4.0.0-canary.20220628.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-umi",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220628.1",
|
|
4
4
|
"description": "create-umi",
|
|
5
|
-
"homepage": "https://github.com/umijs/umi
|
|
6
|
-
"bugs": "https://github.com/umijs/umi
|
|
5
|
+
"homepage": "https://github.com/umijs/umi/tree/master/packages/create-umi#readme",
|
|
6
|
+
"bugs": "https://github.com/umijs/umi/issues",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/umijs/umi
|
|
9
|
+
"url": "https://github.com/umijs/umi"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"main": "dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"test": "umi-scripts jest-turbo"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@umijs/utils": "4.0.0-canary.
|
|
28
|
+
"@umijs/utils": "4.0.0-canary.20220628.1"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
@@ -2,7 +2,7 @@ import { PageContainer } from '@ant-design/pro-components';
|
|
|
2
2
|
import { Access, useAccess } from '@umijs/max';
|
|
3
3
|
import { Button } from 'antd';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
const AccessPage: React.FC = () => {
|
|
6
6
|
const access = useAccess();
|
|
7
7
|
return (
|
|
8
8
|
<PageContainer
|
|
@@ -17,3 +17,5 @@ export default () => {
|
|
|
17
17
|
</PageContainer>
|
|
18
18
|
);
|
|
19
19
|
};
|
|
20
|
+
|
|
21
|
+
export default AccessPage;
|
|
@@ -4,7 +4,7 @@ import { PageContainer } from '@ant-design/pro-components';
|
|
|
4
4
|
import { useModel } from '@umijs/max';
|
|
5
5
|
import styles from './index.less';
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
const HomePage: React.FC = () => {
|
|
8
8
|
const { name } = useModel('global');
|
|
9
9
|
return (
|
|
10
10
|
<PageContainer ghost>
|
|
@@ -14,3 +14,5 @@ export default () => {
|
|
|
14
14
|
</PageContainer>
|
|
15
15
|
);
|
|
16
16
|
};
|
|
17
|
+
|
|
18
|
+
export default HomePage;
|