greyby / vue-spinner

vue spinners

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work in Vue.js 2.0

guyver-dash opened this issue · comments

Please add this to your documentation. I thought there was a problem in implementing but after I read the issues and found out that it doesn't really work in Vue.js 2.0. Nice project anyway and I hope you will support Vue.js 2.0. TY

Thanks for note. I just also tried to use with 2.0, so you saved my time looking for a problem.

Thank you for the feedback. I had added notes to README.

This worked fine for me in Vue 2

Can confirm. This is working for me on Vue 2.3.4

<template>
  <div>
    <vue-spinner :loading="isLoading" color="#102938" size="20px"></vue-spinner>
  </div>
</template>

<script>
import SyncLoader from 'vue-spinner/src/SyncLoader';
export default {
  components: {
    'vue-spinner': SyncLoader,
  },
  data() {
    return {
      isLoading: false,
    };
  },
};
</script>

@amoshydra yes working with "vue": "^2.3.4"

Yes, it is working with vue 2