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

Import OxyPlot.Blazor.js from root (absolute import) #13

Open
phuongdoan13 opened this issue Sep 4, 2023 · 0 comments
Open

Import OxyPlot.Blazor.js from root (absolute import) #13

phuongdoan13 opened this issue Sep 4, 2023 · 0 comments

Comments

@phuongdoan13
Copy link

When using the nuget package of this project, I notice that ResizeObserver relatively imports the js file (e.g. http://localhost:1/my-path_content/OxyPlot.Blazor/OxyPlot.Blazor.js (no slash in between my-path and _content, but this is probably due to our side format).

The cause of the issue is the relative path import here.

As far as I know, most application use the same wwwroot at the root, so using absolute import (/_content/OxyPlot.Blazor/OxyPlot.Blazor.js) facilitates the integration of this awesome library

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