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

Doesn't want to work? #58

Open
youradds opened this issue Feb 23, 2019 · 1 comment
Open

Doesn't want to work? #58

youradds opened this issue Feb 23, 2019 · 1 comment

Comments

@youradds
Copy link

Hi,

I'm trying to get this working but I get an error:

TypeError: options.packed is undefined[Learn More]

I've tried it with a selector:

    const instance = Bricks({
        container: "#case-wrapper a"
    });

and also a direct node for the parent:

    const instance = Bricks({
        container:  document.getElementById("case-wrapper")
    });

What am I doing wrong?

TIA

Andy

@sebelga
Copy link

sebelga commented Apr 19, 2019

Your missing the "packed" option

const instance = Bricks({
  container: "#case-wrapper",
  packed: 'data-packed',
});

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

2 participants