Skip to content

Error parsing twig template in browser #2

@jlevidigitalpulp

Description

@jlevidigitalpulp

When building static site and trying to serve the storybook-static folder, the build completes, and I serve the static folder, however any component that has includes throws a couple of errors

TwigException: Cannot extend an inline template.

and then

Error parsing twig template /tmp/build_f299b3a9/src/heroes/hero-article/hero-article.twig:

I do get this warning, when building.

[plugin vite:resolve] Module "path" has been externalized for browser compatibility

Is there any way to resolve this so I can view the static build and all components in their entirety?

I do have allowInlineIncludes set to true, but that doesn't seem to fix.

Any ideas how I can fix this? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions