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

Installation problem #6

Open
parsagholipour opened this issue Mar 22, 2021 · 1 comment
Open

Installation problem #6

parsagholipour opened this issue Mar 22, 2021 · 1 comment

Comments

@parsagholipour
Copy link

سلام
من با روش داکیومنت ایمپورت رو انجام دادم اما به ارور خوردم و جوابگو نبود
TypeError: vue_jalali_moment__WEBPACK_IMPORTED_MODULE_0___default(...) is not a function
کلا import
کار نکرد
اما کد زیر اوکی بود

Vue.use(require('vue-jalali-moment'));
Vue.use(require('vue-persian-calendar'))

حتی فقط جلالی رو با این روش مینوشتم و این پکیج و ایمپورت میکردم بازم کومپوننت رجیستر نمیشد
علت چیه؟
vue: 2.6.12

@alisalmabadi
Copy link

@parsagholipour

ممنونم
من هم همین مشکل رو داشتم و با
require
مشکل حل شد

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

2 participants