0

I create nuget about my component(.razor,.razor.cs) and some staticwebassets(.css,.js). Once packed I'm sure nuget .nupkg > staticwebassets folder contains my css and js but when project use nuget just can reference the razor,static file doesn't work

I tried to link my.css in index.html but not sure is the wrong URL or other mistakes

my_nuget_component

<link href="_content/my_nuget_component/staticwebassets/my.css" rel="stylesheet" />

antdesign

<link href="_content/AntDesign/css/ant-design-blazor.css" rel="stylesheet" />

how can I link static file like antdesign?

0 Answers0