mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
18 lines
437 B
Vue
18 lines
437 B
Vue
<template>
|
|
<div style="max-width: 600px">
|
|
<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 />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.el-alert {
|
|
margin: 20px 0 0;
|
|
}
|
|
.el-alert:first-child {
|
|
margin: 0;
|
|
}
|
|
</style>
|