首页 > 其他分享 >Ant Design Pro 新建页面

Ant Design Pro 新建页面

时间:2023-02-25 17:45:29浏览次数:30  
标签:新建 Pro js Ant Design 页面

新建src/pages/Request.js

import React from 'react';

export default () => {
  return (
    <div>临时用</div>
  );
}

 

修改config/routes.js

  • path:路径
  • component:组件,js文件名

标签:新建,Pro,js,Ant,Design,页面
From: https://www.cnblogs.com/QingshanY/p/17154869.html

相关文章

  • Ant Design Pro 安装
    使用npm安装cnpmnpminstall-gcnpm--registry=https://registry.npm.taobao.org 安装yarncnpminstall-gyarn 安装Umicnpminstall-gumi 安装项......
  • 如何修改Cognex VisionPro中Blob斑点的边界颜色
    截取项目中的一段代码说明:stringstr="";intCount=0;for(inti=0;i<ParticleCount;i++){doubleCoM_X=particleblob.Re......
  • Android笔记--FileProvider
    FileProvider介绍继承于ContentProvider,本质上依旧是用于跨境通信,对第三方应用暴露文件,并授予文件读写地权限具体内容1、在Strings.xml里面配置一个常量2、在Manifest......
  • What's past is prologue
        凡是过去,皆为序章。爱所有人,信任少数人,不负任何人。我荒废了时间,时间便把我荒废了。 在灰暗的日子中,不要让冷酷的命运窃喜;命运既然来凌辱我们,就应该用处之泰......
  • 使用docker-compose快速部署Prometheus+grafana环境
    由于最近公司服务频繁出问题,老板很生气,下面的人都很不好过,于是老大让加一下业务监控,来观察线上数据状态。但是由于qa环境数据量太少,所以自己搭建了一套环境做相关监控,并且......
  • 性能测试-grafana + prometheus + node_exporter
    1、grafana安装下载网址:https://grafana.com/grafana/download/7.4.3?platform=linux#下载wgethttps://dl.grafana.com/enterprise/release/grafana-enterprise-7.4.3......
  • Docker 启动报:Job for docker.service failed because the control process exited wi
    方法:1、在/etc/docker/daemon.json路径下添加代码。没有这个文件的可以手动添加touch/etc/docker/daemon.json在里面添加代码:{"storage-driver":"devicemapper"}......
  • 最易懂的Prometheus告警原理详解
    通俗易懂的一篇文章,主要介绍了Prometheus什么时候告警,什么时候不会告警。同时介绍了Prometheus告警原理。 警报是监控系统中必不可少的一块,当然了,也是最难......
  • Mysql、(六) Show Profile
    @目录一、ShowProfile简介二、分析步骤1.开启功能2.ShowProfile查看执行情况3.诊断具体的SQL语句三、日常开发需要注意的结论一、ShowProfile简介ShowProfile是......
  • Improving Zero-Shot Coordination Performance Based on Policy Similarity 2023-
    基于策略相似度的零样本协调表现改进总结:这篇论文本质上是研究智能体的泛化性能,文中涉及的问题是在一个常规多智能体系统中的智能体如果要与新加入的或者说没有交互过的......