# 与vue项目相关
---
## 具名作用域插槽
* 具名作用域插槽的工作方式也是类似的,插槽 props 可以作为 v-slot 指令的值被访问到
```
{{ headerProps }}
{{ defaultProps }}
{{ footerProps }}
```
* 传入props
```
```
* 是由插件传回父组件,如上面的message会被headerProps收到,可以根据此进行进一步的处理。
---
# style相关
* 组件样式穿透中遇到需要修改样式的组件在组件外部的可以通过再创建一个```
```
* 组件:
```html
```