vue-is-loading
Advanced tools
Comparing version
{ | ||
"name": "vue-is-loading", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "A Vue 3 JavaScript port of https://github.com/VitorLuizC/vue-loadable", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -112,4 +112,4 @@ # vue-is-loading | ||
### 1.0.2 | ||
### 1.0.3 | ||
- Fixes `loadable` to work with Vue's Composition API with `<script setup>`. |
import { getCurrentInstance } from 'vue'; | ||
import get from 'lodash/get'; | ||
import { get } from 'lodash'; | ||
import callWithHooks from './callWithHooks'; | ||
@@ -4,0 +4,0 @@ |