Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor components folder issue

$
0
0

I am working on a Blazor hybrid project and have a component called ArraySelector.If I place the component in a subdirectory BaseComponents as shown below

enter image description here

And setenter image description here

The @onclick event is not recognize and gives an error on execution.enter image description here

If I copy my component in a subdirectory under components,

enter image description here

enter image description here

then the @onclick is recognized and it works.enter image description here

So I wonder what could be the reason of this behavior?What am I doing wrong?


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>