Skip to content

How to properly use asset extension? #315

@CodeUmair

Description

@CodeUmair

I am trying to use the asset extension, I have a public directory with index and htaccess and an assets directory, I am trying to load assets, CSS, js, and images from this directory and nothing is working for me.

$engine->loadExtension(new League\Plates\Extension\Asset(BASE_PATH . '/public/assets', true));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions