Install Vue.js (there're a bunch of ways)


#1

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?


#2

Are you sure? :slight_smile:


#3

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 :stuck_out_tongue:


#4

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


#5

I tested the packages with blaze and it works! Updated Readme with instructions