mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
15 lines
358 B
Vue
15 lines
358 B
Vue
<template>
|
|
<el-alert title="success alert" type="success" show-icon />
|
|
<el-alert title="info alert" type="info" show-icon />
|
|
<el-alert title="warning alert" type="warning" show-icon />
|
|
<el-alert title="error alert" type="error" show-icon />
|
|
</template>
|
|
<style scoped>
|
|
.el-alert {
|
|
margin: 20px 0 0;
|
|
}
|
|
.el-alert:first-child {
|
|
margin: 0;
|
|
}
|
|
</style>
|