Skip to content

If injector is not set, it load all other resources defined in a config file #2

@lenybernard

Description

@lenybernard

If you don't specify the injector tag, it seems that it will load the "rest" of the resources that page don't load and is however defined in config file.

For now I resolved my issue by setting an injector="" attribute :

{% stylesheets filter='less, cssrewrite' injector=""
    '@AppBundle/Resources/public/less/style.less'
%}
<link href="{{ asset_url }}" type="text/css" rel="stylesheet" media="screen" />
{% endstylesheets %}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions