Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with vue3 #16

Open
mssayari opened this issue Nov 4, 2021 · 0 comments
Open

Problem with vue3 #16

mssayari opened this issue Nov 4, 2021 · 0 comments

Comments

@mssayari
Copy link

mssayari commented Nov 4, 2021

Hi,
Is this compatible with vue3 ?
I tried to use it with vue3 but had some errors then I replaced vue-jalali-moment with vue3-jalali-moment which is a fork from that repo for vue3.
now I have this error: Uncaught (in promise) TypeError: this is null which is referring to

name: 'PersianCalendar',
  props: {
    dateFormat: {
      type: String,

      default() {
        return 'jYYYY/jMM/jDD';
      }

    },
    showDate: {
      type: [Object, String],

      default() {
        return this.$moment();
      }
    },

is there any way to run this on vue3 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant