Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Include dependent assets #104

@mieszko4

Description

@mieszko4

In my bower.json I have dependency on {"fundation": "zurb/bower-foundation#~5.3.3"} package.
I then include this bower package using:

{% javascripts "@foundation_js" %}<script src="{{ asset_url }}"></script>{% endjavascripts %}

However, I get an error message on front-end saying that jQuery is not defined.
This is because it only includes Zurb Foundation main js file and not its dependencies, i.e. jQuery in this case.

I think it would be great if dependencies were resolved automatically.

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