Closed fedottt closed 6 months ago
hi, i use vue3 in esm
my file.html
<script type="importmap"> { "imports": { "vue": "../npm/node_modules/vue/dist/vue.esm-browser.js", "lightgallery/vue": "../npm/node_modules/lightgallery/vue/LightGalleryVue.common.js" } } </script> <script type="module" src="<?php echo $conf['board_url_js']; ?>/file.js"></script>
in file.js
import { createApp, ref, nextTick } from 'vue' import Lightgallery from 'lightgallery/vue'
and in that condition i take
Uncaught SyntaxError: The requested module 'lightgallery/vue' does not provide an export named 'default'
with UMD file same error
how to use it?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hi, i use vue3 in esm
my file.html
in file.js
and in that condition i take
with UMD file same error
how to use it?