mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
19 lines
301 B
Vue
19 lines
301 B
Vue
<template>
|
|
<aside class="el-aside" :style="{ width }">
|
|
<slot></slot>
|
|
</aside>
|
|
</template>
|
|
<script lang="ts">
|
|
import { defineComponent } from 'vue'
|
|
|
|
export default defineComponent({
|
|
name: 'ElAside',
|
|
props: {
|
|
width: {
|
|
type: String,
|
|
default: '300px',
|
|
},
|
|
},
|
|
})
|
|
</script>
|