Open nadeemja opened 6 years ago
True, but Mitar has made a Blaze-Vue integration package: https://github.com/meteor-vue/blaze-integration.
I haven't tested it but you should be able to use it like this: installation
meteor add vuejs:blaze-integration
meteor npm install --save vue
myTemplate.js
import GraphicalGrapher from 'meteor/herteby:graphical-grapher'
Template.myTemplate.helpers({
graphicalGrapher(){
return {
component:GraphicalGrapher,
props:{ //here you can set some options
hideSchemalessCollections:true
}
}
}
})
myTemplate.html
<template name="myTemplate">
{{> VueComponent graphicalGrapher}}
</template>
Let me know if you have issues.
(Btw, Mitars note about having to use his custom forks of Vue and Tracker is only for reactivity, which you don't really need for this.)
Hi,
Am I correct in my understanding that this does not support BlazeUI?