<template>
  <div class="demo6">
    <h1>默认插槽</h1>
    <p>我是一个插槽</p>
    <slot></slot>
  </div>
</template>

<script>
export default {

}
</script>

<style scoped>
.demo6 {
    width: 500px;
    height: 500px;
    color: #f00;
    background: #ff0;
}
</style>