Skip to content

Commit 6aff196

Browse files
authored
Fix missing layout (#183)
* fix: missing layout for not full tempalte * fix condition * Update AntDesign 0.19.3 * fix resources
1 parent 9b86055 commit 6aff196

24 files changed

+132
-24
lines changed

β€Ž.template.config/template.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"exclude": [
104104
"Components/**/*",
105105
"Extensions/**/*",
106-
"Layouts/**/*",
106+
"Layouts/UserLayout.*",
107107
"Models/**/*",
108108
"Pages/**/*",
109109
"Services/**/*",
@@ -116,13 +116,14 @@
116116
{
117117
"condition": "(host == 'webapp')",
118118
"source": "./src/AntDesign.Pro",
119-
"target": "./AntDesign.Pro.Template/AntDesign.Pro.Template.Client/",
119+
"target": "./src/AntDesign.Pro.Template.Client/",
120120
"modifiers": [
121121
{
122122
"exclude": [
123123
"AntDesign.Pro.csproj",
124124
"AntDesign.Pro.csproj.DotSettings",
125-
"gulpfile.js"
125+
"gulpfile.js",
126+
"App.razor"
126127
]
127128
},
128129
{
@@ -144,7 +145,7 @@
144145
"exclude": [
145146
"Components/**/*",
146147
"Extensions/**/*",
147-
"Layouts/**/*",
148+
"Layouts/UserLayout.*",
148149
"Models/**/*",
149150
"Pages/**/*",
150151
"Services/**/*",
@@ -232,12 +233,12 @@
232233
{
233234
"condition": "(host == 'webapp')",
234235
"source": "./.template.config/templates/wasm",
235-
"target": "./AntDesign.Pro.Template/AntDesign.Pro.Template.Client/",
236+
"target": "./src/AntDesign.Pro.Template.Client/",
236237
"modifiers": [
237238
{
238239
"exclude": [
239240
"AntDesign.Pro.Template.csproj",
240-
"Program.cs"
241+
"Program.cs"
241242
]
242243
},
243244
{

β€Ž.template.config/templates/server/AntDesign.Pro.Template.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<ItemGroup>
1010
<PackageReference Include="AntDesign.Charts" Version="0.4.0" />
11-
<PackageReference Include="AntDesign.Extensions.Localization" Version="0.19.2" />
12-
<PackageReference Include="AntDesign.ProLayout" Version="0.19.2" />
11+
<PackageReference Include="AntDesign.Extensions.Localization" Version="0.19.3" />
12+
<PackageReference Include="AntDesign.ProLayout" Version="0.19.3" />
1313
<PackageReference Include="System.Net.Http.Json" Version="8.0.0" />
1414
</ItemGroup>
1515

β€Ž.template.config/templates/wasm/AntDesign.Pro.Template.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
<ItemGroup>
99
<PackageReference Include="AntDesign.Charts" Version="0.4.0" />
10-
<PackageReference Include="AntDesign.Extensions.Localization" Version="0.19.2" />
11-
<PackageReference Include="AntDesign.ProLayout" Version="0.19.2" />
10+
<PackageReference Include="AntDesign.Extensions.Localization" Version="0.19.3" />
11+
<PackageReference Include="AntDesign.ProLayout" Version="0.19.3" />
1212
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
1313
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
1414
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />

β€Ž.template.config/templates/webapp/AntDesign.Pro.Template.sln

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio Version 17
44
VisualStudioVersion = 17.11.35005.142
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntDesign.Pro.Template", "AntDesign.Pro.Template\AntDesign.Pro.Template\AntDesign.Pro.Template.csproj", "{B5934F21-93C6-46BA-B25D-C2D3B62EDCFC}"
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntDesign.Pro.Template", "src\AntDesign.Pro.Template\AntDesign.Pro.Template.csproj", "{B5934F21-93C6-46BA-B25D-C2D3B62EDCFC}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntDesign.Pro.Template.Client", "AntDesign.Pro.Template\AntDesign.Pro.Template.Client\AntDesign.Pro.Template.Client.csproj", "{21B555E8-4868-4C61-A487-269C436022FF}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AntDesign.Pro.Template.Client", "src\AntDesign.Pro.Template.Client\AntDesign.Pro.Template.Client.csproj", "{21B555E8-4868-4C61-A487-269C436022FF}"
99
EndProject
1010
Global
1111
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
<ItemGroup>
1212
<PackageReference Include="AntDesign.Charts" Version="0.4.0" />
13-
<PackageReference Include="AntDesign.Extensions.Localization" Version="0.19.2" />
14-
<PackageReference Include="AntDesign.ProLayout" Version="0.19.2" />
13+
<PackageReference Include="AntDesign.Extensions.Localization" Version="0.19.3" />
14+
<PackageReference Include="AntDesign.ProLayout" Version="0.19.3" />
1515
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.0" />
1616
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.0" PrivateAssets="all" />
1717
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0" />

0 commit comments

Comments
Β (0)