Skip to content

Akryum/meteor-vue-blaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meteor, Vue & Blaze example

Example meteor project featuring both vue and blaze (more info).

Steps to reproduce

Open a terminal and type:

meteor create my-app
cd ./my-app
meteor add akryum:vue akryum:vue-component
meteor

Add a div in your blaze template:

<template name="vue_demo">
  <div id="vue-demo"></div>
</template>

And create a vue instance in your client script:

/* Vue-demo */

import {Vue} from 'meteor/akryum:vue';
import Widget from '/imports/ui/Widget.vue';

Template.vue_demo.rendered = function() {
  var vm = new Vue({
    el: '#vue-demo',
    template: '<div><widget></widget></div>',
    components: {
      Widget
    }
  });
}

About

Example meteor project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published