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

[Vue warn]: Error in render: "TypeError: Cannot call a class as a function" #12

Open
garethwatt opened this issue Feb 23, 2022 · 0 comments

Comments

@garethwatt
Copy link

There is probably something small I'm missing but I can't find any similar error online especially for year-calendar
I'm using Laravel 8

----- Full error:

[Vue warn]: Error in render: "TypeError: Cannot call a class as a function"
(found in ) vue.esm.js:628

TypeError: Cannot call a class as a function
_classCallCheck v-year-calendar.js:27
Calendar v-year-calendar.js:183
VueJS 5
anonymous app.js line 1402 > eval line 11719 > Function:3
VueJS 9
calendar:273
vue.esm.js:1906

--- App.js ---

import Calendar from 'v-year-calendar';

-- Calendar.blade.js ---

<script> new Vue({ el: '#app', components: { Calendar, }, }); </script>
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