Browse Source
Merge pull request #5084 from abpframework/maliming/Components-folder
Allow root "Components" folder in the web projects to have view component resources inside
pull/5089/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with
76 additions and
1 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy/Volo.Abp.AspNetCore.Mvc.UI.MultiTenancy.csproj
-
framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/VirtualFileSystem/AbpAspNetCoreContentOptions.cs
-
modules/account/src/Volo.Abp.Account.Web.IdentityServer/Volo.Abp.Account.Web.IdentityServer.csproj
-
modules/account/src/Volo.Abp.Account.Web/Volo.Abp.Account.Web.csproj
-
modules/blogging/src/Volo.Blogging.Admin.Web/Volo.Blogging.Admin.Web.csproj
-
modules/blogging/src/Volo.Blogging.Web/Volo.Blogging.Web.csproj
-
modules/client-simulation/src/Volo.ClientSimulation.Web/Volo.ClientSimulation.Web.csproj
-
modules/cms-kit/src/Volo.CmsKit.Admin.Web/Volo.CmsKit.Admin.Web.csproj
-
modules/cms-kit/src/Volo.CmsKit.Common.Web/Volo.CmsKit.Common.Web.csproj
-
modules/cms-kit/src/Volo.CmsKit.Public.Web/Volo.CmsKit.Public.Web.csproj
-
modules/docs/src/Volo.Docs.Admin.Web/Volo.Docs.Admin.Web.csproj
-
modules/docs/src/Volo.Docs.Web/Volo.Docs.Web.csproj
-
modules/feature-management/src/Volo.Abp.FeatureManagement.Web/Volo.Abp.FeatureManagement.Web.csproj
-
modules/identity/src/Volo.Abp.Identity.Web/Volo.Abp.Identity.Web.csproj
-
modules/permission-management/src/Volo.Abp.PermissionManagement.Web/Volo.Abp.PermissionManagement.Web.csproj
-
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Volo.Abp.SettingManagement.Web.csproj
-
modules/tenant-management/src/Volo.Abp.TenantManagement.Web/Volo.Abp.TenantManagement.Web.csproj
-
modules/virtual-file-explorer/src/Volo.Abp.VirtualFileExplorer.Web/Volo.Abp.VirtualFileExplorer.Web.csproj
-
templates/module/aspnet-core/src/MyCompanyName.MyProjectName.Web/MyCompanyName.MyProjectName.Web.csproj
|
|
|
@ -20,8 +20,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Volo\Abp\AspNetCore\Mvc\UI\MultiTenancy\Localization\*.json" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Volo\Abp\AspNetCore\Mvc\UI\MultiTenancy\Localization\*.json" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -400,7 +400,8 @@ namespace Volo.Abp.AspNetCore.VirtualFileSystem |
|
|
|
{ |
|
|
|
"/Pages", |
|
|
|
"/Views", |
|
|
|
"/Themes" |
|
|
|
"/Themes", |
|
|
|
"/Components" |
|
|
|
}; |
|
|
|
|
|
|
|
AllowedExtraWebContentFileExtensions = ContentTypeMaps.Select(x => x.Key).ToList(); |
|
|
|
|
|
|
|
@ -20,8 +20,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -22,10 +22,14 @@ |
|
|
|
<EmbeddedResource Include="Modules\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Modules\**\*.js" /> |
|
|
|
<Content Remove="Modules\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -30,8 +30,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -30,8 +30,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
<None Include="compilerconfig.json" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
@ -23,9 +23,15 @@ |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.scss" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.scss" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.scss" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.scss" /> |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
<None Include="compilerconfig.json" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
@ -25,8 +25,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -29,6 +29,10 @@ |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -23,6 +23,10 @@ |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -38,6 +38,10 @@ |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
<Content Remove="compilerconfig.json.defaults" /> |
|
|
|
<None Include="compilerconfig.json" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -38,6 +38,10 @@ |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
<Content Remove="compilerconfig.json.defaults" /> |
|
|
|
<None Include="compilerconfig.json" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -15,8 +15,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -19,11 +19,15 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
<Content Remove="compilerconfig.json.defaults" /> |
|
|
|
<None Include="compilerconfig.json" /> |
|
|
|
|
|
|
|
@ -16,8 +16,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -27,8 +27,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|
|
|
@ -16,8 +16,12 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="compilerconfig.json" /> |
|
|
|
<Content Remove="compilerconfig.json.defaults" /> |
|
|
|
<None Include="compilerconfig.json" /> |
|
|
|
|
|
|
|
@ -21,12 +21,16 @@ |
|
|
|
<EmbeddedResource Include="Pages\**\*.cshtml" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<EmbeddedResource Include="wwwroot\**\*.*" /> |
|
|
|
<EmbeddedResource Include="Localization\**\*.json" /> |
|
|
|
<Content Remove="Pages\**\*.cshtml" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="wwwroot\**\*.*" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="Localization\**\*.json" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
|
|
@ -27,9 +27,13 @@ |
|
|
|
<ItemGroup> |
|
|
|
<EmbeddedResource Include="Pages\**\*.css" /> |
|
|
|
<EmbeddedResource Include="Pages\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.js" /> |
|
|
|
<EmbeddedResource Include="Components\**\*.css" /> |
|
|
|
<EmbeddedResource Include="wwwroot\**\*.*" /> |
|
|
|
<Content Remove="Pages\**\*.css" /> |
|
|
|
<Content Remove="Pages\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.js" /> |
|
|
|
<Content Remove="Components\**\*.css" /> |
|
|
|
<Content Remove="wwwroot\**\*.*" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|