-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow passing more options to VueComponentWith() #134
Comments
Interesting. Could you share your real world use-cases which the feature helps/solves? |
Actually i would use it with ˋpropsˋ which i needed on the components i also passed to the markdown markup. Could be also useful to pass props with additional data like done in Vuepress. See: https://vuepress.vuejs.org/guide/using-vue.html#templating |
Got it. I was interested in what you try to make actually in the "real world". What you're building, what the feature you suggested solves 😉
I'm not so keen on supporting templating features like VuePress basically and would recommend using MDX for more dynamic handling. |
The 'templating' hash of the doc was not precise, i use it to pass props which i can use on the passed components. Like this:
|
so actually what makes happen by |
It would be nice to allow other Vue Component options then
components
when using Vue syntax in .md file. For exampleprops
can be useful as well. There could be a second function parameter calledoptions
, like so:VueComponentWith(components, options)
The text was updated successfully, but these errors were encountered: