Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Element loads intermitently #1343

Open
jame5cross opened this issue May 13, 2024 · 0 comments
Open

Custom Element loads intermitently #1343

jame5cross opened this issue May 13, 2024 · 0 comments

Comments

@jame5cross
Copy link

Describe the bug

Custom Elements don't appear to be working. I have tried locally and the custom element occassionally appear when saving the +page.svelte file, or navigating between pages in the quickstart demo but does not appear on page refresh. Reproduction below does not seem to work at all.

Reproduction

https://stackblitz.com/edit/sveltejs-kit-template-default-x2vhbq?file=src%2Froutes%2F%2Bpage.svelte

I have added to +page.svelte. Also added the customElements dependencies in svelte.config.js and MyButton.svelte

Flowbite version and System Info

"flowbite": "^2.3.0",
"flowbite-svelte": "^0.46.1",

Chrome latest
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

No branches or pull requests

1 participant