|
|
@@ -8,8 +8,13 @@ Support full screen preview videos and images, support functional call.
|
|
|
|
|
|
```javascript
|
|
|
import { createApp, reactive, toRefs } from 'vue';
|
|
|
+//vue
|
|
|
+import { ImagePreview, Overlay, Popup, Swiper, SwiperItem } from '@nutui/nutui';
|
|
|
+//taro
|
|
|
+import { ImagePreview, Overlay, Popup, Swiper, SwiperItem } from '@nutui/nutui-taro';
|
|
|
|
|
|
-import { ImagePreview } from '@nutui/nutui';
|
|
|
+const app = createApp();
|
|
|
+app.use(ImagePreview);
|
|
|
|
|
|
|
|
|
const app = createApp();
|