We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c8d112 commit 2a8712aCopy full SHA for 2a8712a
packages/docs/docs/guide/using-vue.md
@@ -185,6 +185,7 @@ Sometimes you may need to apply some JavaScript or CSS only to the current page.
185
186
<script>
187
export default {
188
+ props: ['slot-key'],
189
mounted () {
190
document.querySelector(`.${this.$style.example}`)
191
.textContent = 'This is rendered by inline script and styled by inline CSS'
packages/docs/docs/zh/guide/using-vue.md
@@ -185,6 +185,7 @@ yarn add -D pug pug-plain-loader
.textContent = '这个块是被内联的脚本渲染的,样式也采用了内联样式。'
0 commit comments