Skip to content

ImportMap Tag in Oqtane #5183

Answered by sbwalker
Sharafudeen asked this question in General
Mar 20, 2025 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

@Sharafudeen

Understood. However, why is it necessary to define all dependent JavaScript files in the resources when we’ve already referenced the dependent DLLs in the Dependencies property?

Referencing the dependent DLLs in the Dependencies property does not provide Oqtane any information about the static resources which those DLLs rely upon. All of the information about static resources are stored in the Nuget package - which is not an artifact which Oqtane can interogate at run-time to obtain the dependency information. Therefore, the static resources need to be declared in the component.

Standard Blazor avoids this problem because it is not modular - it assumes that all of an appl…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Sharafudeen
Comment options

@Sharafudeen
Comment options

Comment options

You must be logged in to vote
3 replies
@Sharafudeen
Comment options

@Sharafudeen
Comment options

@sbwalker
Comment options

Answer selected by Sharafudeen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants