Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@A-Behairi
Copy link
Collaborator

This allows the config property to accept a function that returns a configuration of type Eodash, this fixes the issue of losing the context inside of the imported file.

<template>
  <eo-dash .config="config"></eo-dash>
</template>
<script setup>
import "@eodash/eodash/webcomponent"
const config = async () => await import("./config.js").then(m => m.default)
</script>

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 20, 2025

Open in StackBlitz

npm i https://pkg.pr.new/eodash/eodash/@eodash/eodash@223

commit: 3a293c9

@A-Behairi A-Behairi merged commit e552cf4 into main Aug 21, 2025
4 checks passed
@A-Behairi A-Behairi deleted the config-import branch August 22, 2025 13:08
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

Successfully merging this pull request may close these issues.

3 participants