mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
15 lines
386 B
Vue
15 lines
386 B
Vue
<template>
|
|
<el-alert title="success alert" type="success" center show-icon />
|
|
<el-alert title="info alert" type="info" center show-icon />
|
|
<el-alert title="warning alert" type="warning" center show-icon />
|
|
<el-alert title="error alert" type="error" center show-icon />
|
|
</template>
|
|
<style scoped>
|
|
.el-alert {
|
|
margin: 20px 0 0;
|
|
}
|
|
.el-alert:first-child {
|
|
margin: 0;
|
|
}
|
|
</style>
|