elementUI学习
elementUI学习 elementUI入门:在ider里面安装 命令npm i element-ui -S 在使用之前引入JS核心文件 组件的学习:进去elementUI官网: https://element.eleme.cn/#/zh-CN Layout布局组件的学习:浏览 Layout 组件查看你想要的布局风格 点击显示代码 拷贝到你的模板里面 模板: <template> <div class="hello"> <el-row> <el-col :span="24"><div class="grid-content bg-purple-dark"></div></el-col> </el-row> <el-row> <el-col :span="12"><div class="grid-content bg-purple"></div></el-col> <el-col :span="12"><div class="grid-content bg-purple-light"></div></el-col> </el-row> <el-row> <el-col :span="8"><div class="grid-content bg-purple"></div></el-col> <el-col :span=