Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Unable to load custom resource #1

@lumimario

Description

@lumimario

I can't figure out how to load a custom css using the RequireClientResources property. I have tried different approaches:

  • created a custom client resource provider, but the resource is always trying to be taken from the Episerver Shell instead of my provider. In this case, I'm passing my resource name to the RequireClientResources property.
  • I have also included the path to the file into the RequireClientResources. In this case the file is loaded but with a mime-type of javascript, so the css doesn't load.

Are you able to provide an example, please?

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