zhouzhuojie / meteor-vue

Vue for Meteor
130 stars 8 forks source link

Support sync inheritance in components #24

Closed xkjyeah closed 9 years ago

zhouzhuojie commented 9 years ago

Thanks so much, do you mind add a simple component test to it? It's in test-vue:vue.js

xkjyeah commented 9 years ago

Yikes i've written a test for it, but i don't know how to execute the test. What are the steps? (Sorry I'm rather new to this)

zhouzhuojie commented 9 years ago

After adding the test, just run meteor test-packages ./

xkjyeah commented 9 years ago

In the meteor-vue directory? I get "TypeError: Vue is undefined" in Firefox

xkjyeah commented 9 years ago

and TypeError: Package["vue:vue"] is undefined

zhouzhuojie commented 9 years ago

then you need to add this line back:

Vue = this.Vue;

xkjyeah commented 9 years ago

Alright... tested and fixed... Is the test written in an acceptable standard?