feat: init
This commit is contained in:
parent
620154793b
commit
653fc7b09d
14
README.md
14
README.md
@ -1,15 +1,5 @@
|
||||
# umi project
|
||||
# 默认全局
|
||||
|
||||
## Getting Started
|
||||
src/global.less
|
||||
|
||||
Install dependencies,
|
||||
|
||||
```bash
|
||||
$ yarn
|
||||
```
|
||||
|
||||
Start the dev server,
|
||||
|
||||
```bash
|
||||
$ yarn start
|
||||
```
|
||||
|
@ -1,16 +1,10 @@
|
||||
import styles from './index.less';
|
||||
import { Button } from 'antd'
|
||||
import { Button as ButtonMobileV2 } from 'antd-mobile-v2'
|
||||
import { Button as ButtonMobileV5 } from 'antd-mobile'
|
||||
export default function IndexPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className={styles.title}>Page index</h1>
|
||||
<Button type={"primary"}>Click</Button>
|
||||
<ButtonMobileV2>Click</ButtonMobileV2>
|
||||
<ButtonMobileV5>Click</ButtonMobileV5>
|
||||
<img src={ require('@/assets/user.jpg') } alt="" draggable={false} />
|
||||
<img src="/user.jpg" alt="" draggable={false}/>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user