zoukankan      html  css  js  c++  java
  • day81 element-ui、接口与接口工具介绍postman、restful接口规范、drf安装、drf工作流程-生命周期、cbv

    一、element-ui

      element-ui:饿了么开发的 基于vue上的bootstrap 【如果是原生的javescript就用bootsrap】


      bs按照特点的页面结构,赋予特点的class与属性    =>   eu书写特点的组件标签构建特点的结构


      总结:复制粘贴

      

      安装:项目目录下的终端

        >: cnpm i element-ui -S

      配置:main.js

        import  'element-ui/lib/theme-chalk/index.css'    =>需要导入css

        import ElementUi from 'element-ui'

        Vue.use(ElementUI)  ==>  给全局用的就是use,  给对象用的就是prototype

      使用:官方API  

        https://element.eleme.cn/#/zh-CN/component/installation

        <!--案例-->
        <el-row>
          <el-button>默认按钮</el-button>
          <el-button type="primary">主要按钮</el-button>
          <el-button type="success">成功按钮</el-button>
          <el-button type="info">信息按钮</el-button>
          <el-button type="warning">警告按钮</el-button>
          <el-button type="danger">危险按钮</el-button>
        </el-row>

    二、postman 接口测试工具

      下载:https://www.getpostman.com/downloads/

      什么是接口:接口就是可以对其发送请求、发送数据,并且拿到返回结果的链接

  • 相关阅读:
    MySQL与PostgreSQL比较 哪个数据库更好
    Laravel 精选资源大全
    laravel-admin 安装(总结)
    MySQL索引及查询优化总结
    编写高质量的JavaScript代码(一)
    当谈 SQL 优化时谈些什么?
    JavaScriptCore全面解析 (下篇)
    页面性能优化的利器 — Timeline
    Python 操作 MySQL 的正确姿势
    一个只有99行代码的JS流程框架(二)
  • 原文地址:https://www.cnblogs.com/qingqinxu/p/11348973.html
Copyright © 2011-2022 走看看