Skip to content

[HxSearchBox] - Failed to fetch dynamically imported module - wrong url to HxSearchBox.js #411

Answered by hakenr
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Nesting of components should not bring such issues.
For Blazor application to work properly, you have to have the <base ... /> element somewhere in you page.
It usually sits in index.html, _host.cshtml or _layout.cshtml (depending on your setup) and is responsible for correct URL resolution on client-side.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by crdo
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
1 participant
Converted from issue

This discussion was converted from issue #408 on October 20, 2022 07:47.