vue-meteor
vue-meteor copied to clipboard
Embed Blaze template with data.
trafficstars
In your implementation, we can't pass data to Blaze templates. That make it hard to use userccounts:* in apps.
I'm proposing:
<div v-blaze="{ name: 'atForm', data: { state: 'changePwd' } }"></div>
<!-- But still accept: -->
<div v-blaze="'discoverPage'"></div>
The workaround for now is to create a wrapper Blaze template to which you don't need to pass any props. And in this wrapper Blaze template you include {{> atForm state="changePwd"}} the normal Blaze way and you can use Session to pass some variables from Vue to the wrapper.
I need the same 👍 @laosb Have any way???