zoukankan      html  css  js  c++  java
  • antd pro 使用

    antd pro使用

    帮助文档地址:https://pro.ant.design/docs/layout-cn

    安装

    1. 新建项目目录,并在该目录下执行命令npm create umi

    2. 选择ant-design-pro

      Select the boilerplate type (Use arrow keys)
      > ant-design-pro  - Create project with a layout-only ant-design-pro boilerplate, use together with umi block.
        app             - Create project with a simple boilerplate, support typescript.
        plugin          - Create a umi plugin.
      
    3. 选择第二个v4

      Be the first to experience the new umi@3 ? (Use arrow keys)
        Pro V5
      > Pro V4
      
    4. 选择第二个js

      Which language do you want to use? (Use arrow keys)
        TypeScript
      > JavaScript
      
    5. 选Complete

      you need all the blocks or a simple scaffold?
        simple
      > complete
      
    6. 执行npm install

    7. 执行npm start即可看到网站

  • 相关阅读:
    json
    封装PDO
    PDO
    jquery练习
    jquery包
    jquery
    租房子 多条件查询
    查询
    新闻修改处理页面
    新闻添加数据
  • 原文地址:https://www.cnblogs.com/friendwang1001/p/14427501.html
Copyright © 2011-2022 走看看