mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 11:17:46 +08:00
18 lines
425 B
Vue
18 lines
425 B
Vue
<template>
|
|
<div style="max-width: 600px">
|
|
<el-alert title="Success alert" type="success" effect="dark" />
|
|
<el-alert title="Info alert" type="info" effect="dark" />
|
|
<el-alert title="Warning alert" type="warning" effect="dark" />
|
|
<el-alert title="Error alert" type="error" effect="dark" />
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.el-alert {
|
|
margin: 20px 0 0;
|
|
}
|
|
.el-alert:first-child {
|
|
margin: 0;
|
|
}
|
|
</style>
|