Closed hasanparasteh closed 3 years ago
When i import the useLoading from the package I got the TypeError: Object(...) is not a function Error when i call the loading. look at the code at below:
TypeError: Object(...) is not a function
import { useLoading } from 'vue-loading-overlay'; const loading = useLoading();
You can not import useLoading , it is buggy at this moment,
useLoading
https://github.com/ankurk91/vue-loading-overlay/issues/92
When i import the useLoading from the package I got the
TypeError: Object(...) is not a function
Error when i call the loading. look at the code at below: