This topic belongs in meteor guide, but until then: how do you go about installing vue without atmosphere packages as all of them are outdated significantly?
Are you sure?
1 Like
There’re a bunch of related packages (vue) from you in atmosphere, but foremost do I say bye, bye to <template name="project-page"> <div /> ...
if blaze-html-templates goes- as it does?
I ignored your packages since they had 0 installs, but they’re young as it turns out. You belief that they’re somewhat production ready at least like Iron-router is
There is no reason you couldn’t still use Blaze with my packages, but I must admit I didn’t test this use-case.
This should work:
import {Vue} from 'meteor/akryum:vue';
import MyComponent from '/imports/ui/MyComponent.vue';
Template.home.rendered = function() {
var vm = new Vue({
el: '#vue-demo',
template: '<div><my-component></my-component></div>',
components: {
MyComponent
}
});
}
If you try this, please let me know if you encounter any issue.
[Edit] You can track the issue here: https://github.com/Akryum/meteor-vue-component/issues/30
1 Like