Answer the question
In order to leave comments, you need to log in
How to hang a directive in the render function?
I can't find anything at all.
render: function (createElement) {
return createElement(
'div',
[...Array(this.layers).keys()].map(i => {
return this.$slots.default
})
)
},
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question