We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41941bc commit 38cd453Copy full SHA for 38cd453
lib/index.js
@@ -34,8 +34,8 @@ const isExternal = props => !props.to ||
34
35
const vueLinkFactory = slashes => ({
36
functional: true,
37
- render: (h, { data, children }) => {
38
- data.props = data.props || (data.props = {})
+ render: (h, { data, children, props }) => {
+ data.props = props
39
data.props.slashes = data.props.slashes || slashes
40
41
const isLinkedToExternal = isExternal(data.props)
0 commit comments