web-Element

复制代码
在vueapp里
  <div>
    <!-- <h1>{{message}}</h1> -->
    <element-view>
      
    </element-view>
  </div>  <div>
    <!-- <h1>{{message}}</h1> -->
    <element-view>
      
    </element-view>
  </div>

在view新建个文件
<template>
    <div>
        <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>
    </div>
</template>
<script>
export default {
    
}
</script>
<style>

</style><template>
    <div>
        <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>
    </div>
</template>
<script>
export default {
    
}
</script>
<style>

</style>
相关推荐
花生侠7 分钟前
记录:前端项目使用pnpm+husky(v9)+commitlint,提交代码格式化校验
前端
猿榜8 分钟前
魔改编译-永久解决selenium痕迹(二)
javascript·python
阿幸软件杂货间12 分钟前
阿幸课堂随机点名
android·开发语言·javascript
一涯14 分钟前
Cursor操作面板改为垂直
前端
我要让全世界知道我很低调21 分钟前
记一次 Vite 下的白屏优化
前端·css
threelab21 分钟前
three案例 Three.js波纹效果演示
开发语言·javascript·ecmascript
1undefined223 分钟前
element中的Table改造成虚拟列表,并封装成hooks
前端·javascript·vue.js
paopaokaka_luck1 小时前
基于SpringBoot+Vue的非遗文化传承管理系统(websocket即时通讯、协同过滤算法、支付宝沙盒支付、可分享链接、功能量非常大)
java·数据库·vue.js·spring boot·后端·spring·小程序
蓝倾1 小时前
淘宝批量获取商品SKU实战案例
前端·后端·api
comelong1 小时前
Docker容器启动postgres端口映射失败问题
前端