master
zhengpengju 4 years ago
parent 37be251c5a
commit 5b66414623

@ -0,0 +1,10 @@
export default {
plugins: [
[
'umi-plugin-block-dev',
{
layout: 'ant-design-pro',
},
],
],
};

@ -0,0 +1,15 @@
{
"name": "procomponents",
"description": "ProComponents block of umi, with antd.",
"dependencies": {
"antd": "^4.14.0"
},
"devDependencies": {
},
"block": {
"category": "脚手架"
},
"scripts":{
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

@ -0,0 +1,3 @@
.container {
color: blue;
}

@ -0,0 +1,7 @@
import React from 'react';
import { Button } from 'antd';
import styles from './index.less';
export default () => {
return <Button className={styles.container}>Hello UmiJS!</Button>;
}
Loading…
Cancel
Save