@yqg/create-max-app
Advanced tools
| import {useModel} from '@yqg/max'; | ||
| import { Button, Card, Space, Typography } from 'antd'; | ||
| import { SmileOutlined } from '@ant-design/icons'; | ||
| const Home = () => { | ||
| const initalVal = useModel("@@initialState"); | ||
| const detailLabelModel = useModel('detail-label'); | ||
| console.log("detailLabelModel:", detailLabelModel); | ||
| console.log("initalVal:", initalVal); | ||
| return <div style={{ padding: '48px', textAlign: 'center' }}> | ||
| <Space direction="vertical" size="large"> | ||
| <SmileOutlined style={{ fontSize: '48px', color: '#1890ff' }} /> | ||
| <Typography.Title level={2}>欢迎使用本系统</Typography.Title> | ||
| <Card style={{ width: '600px', margin: '0 auto' }}> | ||
| <Typography.Paragraph> | ||
| 这是一个基于 React18 + TypeScript + Ant Design Pro开发的系统。 | ||
| 您可以开始探索以下功能: | ||
| </Typography.Paragraph> | ||
| <Space> | ||
| <Button | ||
| type="primary" | ||
| target="_blank" | ||
| href="https://max.fintopia.tech/" | ||
| > | ||
| 开始使用 | ||
| </Button> | ||
| <Button | ||
| href="https://procomponents.ant.design/components/layout?tab=api" | ||
| target="_blank" | ||
| > | ||
| 查看文档 | ||
| </Button> | ||
| </Space> | ||
| </Card> | ||
| </Space> | ||
| </div> | ||
| }; | ||
| export default Home; |
+1
-1
| { | ||
| "name": "@yqg/create-max-app", | ||
| "version": "3.0.2-beta.0", | ||
| "version": "3.0.2", | ||
| "description": "create-max-app", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
27128
4%465
8.64%2
-33.33%