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

svelte package does not work #82

Open
isaacfink opened this issue Jan 26, 2023 · 2 comments
Open

svelte package does not work #82

isaacfink opened this issue Jan 26, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@isaacfink
Copy link

Description

I am trying to implement a masonry layout using the svelte package but it doesn't align anything, it doesn't even modify the children

Steps to check or reproduce

<MasonryGrid column={4} columnSize={200} align={'end'}>
      {#each category.posters as card}
        <Card {card} />
      {/each}
    </MasonryGrid>
@daybrush daybrush added the bug Something isn't working label Jan 27, 2023
@daybrush
Copy link
Member

daybrush commented Feb 9, 2023

@isaacfink

The reason is not ascertained. Are there any differences?

src/routes/about/about.svelte // See About Page

https://codesandbox.io/p/sandbox/compassionate-herschel-71x9n5

@g-30
Copy link

g-30 commented Dec 26, 2023

@daybrush it doesn't work for me as well. Here's the error VS Code shows:
Screenshot
And here's what the console returns:

require() of ES Module ./node_modules/svelte/src/runtime/internal/index.js from ./node_modules/@egjs/svelte-grid/dist/grid.cjs.js not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants