Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Conversation

@bahmutov
Copy link
Contributor

@bahmutov bahmutov commented Jul 7, 2020

examples of Vue render functions components, example with passing props

<app-component :elementtype = "'div,blue,30,div1'">Hello World</app-component>

for individual component to be mounted

mount(appComponent, {
  propsData: {
    elementtype: 'h3,red,30,h3tag',
  },
})

@bahmutov bahmutov changed the title Render function feat: rest render function components Jul 7, 2020
@bahmutov bahmutov merged commit ac778f3 into master Jul 7, 2020
@bahmutov
Copy link
Contributor Author

bahmutov commented Jul 7, 2020

🎉 This PR is included in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

JessicaSachs pushed a commit to cypress-io/cypress that referenced this pull request Sep 29, 2020
…st#343)

```
<app-component :elementtype = "'div,blue,30,div1'">Hello World</app-component>
```

for individual component to be mounted

```js
mount(appComponent, {
  propsData: {
    elementtype: 'h3,red,30,h3tag',
  },
})
```
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Components with render function not working correctly (props not passed)

2 participants