support for shared razor class library static resources in external module template
This commit is contained in:
		| @ -19,6 +19,11 @@ | ||||
|     <EmbeddedResource Include="Scripts\[Owner].[Module].Uninstall.sql" /> | ||||
|   </ItemGroup> | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <Content Remove="wwwroot\_content\**\*.*" /> | ||||
|     <None Include="wwwroot\_content\**\*.*" /> | ||||
|   </ItemGroup> | ||||
|  | ||||
|   <ItemGroup> | ||||
|     <PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.Server" Version="5.0.0" /> | ||||
|     <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="5.0.0" /> | ||||
|  | ||||
							
								
								
									
										11
									
								
								Oqtane.Server/wwwroot/Modules/Templates/External/Server/wwwroot/_content/Placeholder.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Oqtane.Server/wwwroot/Modules/Templates/External/Server/wwwroot/_content/Placeholder.txt
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | ||||
| The _content folder should only contain static resources from shared razor component libraries (RCLs). Static resources can be extracted from shared RCL Nuget packages by executing a Publish task on the module's Server project to a local folder and copying the files from the _content folder which is created. Each shared RCL would have its own appropriately named subfolder within the module's _content folder. | ||||
|  | ||||
| ie. | ||||
|  | ||||
| /_content | ||||
|   /Radzen.Blazor | ||||
|     /css | ||||
|     /fonts | ||||
|   /syncfusion.blazor | ||||
|     /scripts | ||||
|     /styles | ||||
		Reference in New Issue
	
	Block a user
	 Shaun Walker
					Shaun Walker