amis-umi-antd搭建始末
作者:互联网
创建项目目录
安装
yarn create @umijs/umi-app
执行yarn安装相关插件
修改.umirc.ts
配置 layout: {}
,并且需要安装 @ant-design/pro-layout
···
import { defineConfig } from 'umi';
export default defineConfig({
+ layout: {},
routes: [
{ path: '/', component: '@/pages/index' },
],
});
···
标签:插件,layout,安装,yarn,antd,umi,amis,defineConfig 来源: https://www.cnblogs.com/fanqieyuanzi/p/15935938.html