Skip to content

Use ContentRootPath if WebRootPath is null to find the full path #1345

@oyvindbergbouvet

Description

@oyvindbergbouvet

throw new ReactException("WebRootPath was null, has the wwwroot folder been deployed along with your app?");

Use ContentRootPath if WebRootPath is null

  • if both are null, then throw

Some applications use react ssr, server react components through API's without a wwwroot folder, and some applications use the react ssr only, still no wwwroot.

Or an additional method allowing the consumer of the package to pass in full paths of the scripts.

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