Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
oyvindbergbouvet opened this issue Mar 27, 2024 · 0 comments
Open

Comments

@oyvindbergbouvet
Copy link

oyvindbergbouvet commented Mar 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant