Skip to content

Commit a62eccb

Browse files
fix: package downgrade from 0.6.* to 0.5.0 build error (#66)
* docs: template installation command fix * fix: package downgrade from 0.6.* to 0.5.0 build error * fix cmd * fix template install guide Co-authored-by: James Yeung <[email protected]>
1 parent 4c844a0 commit a62eccb

File tree

5 files changed

+27
-23
lines changed

5 files changed

+27
-23
lines changed

.template.config/templates/hosted/src/Client/AntDesign.Pro.Template.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="AntDesign" Version="0.5.0-*" />
8+
<PackageReference Include="AntDesign" Version="0.6.0-*" />
99
<PackageReference Include="AntDesign.Charts" Version="0.2.0-*" />
1010
<PackageReference Include="AntDesign.Pro.Layout" Version="0.1.0-*" />
1111
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" />

.template.config/templates/server/AntDesign.Pro.Template.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66

77
<ItemGroup>
8-
<PackageReference Include="AntDesign" Version="0.5.0-*" />
8+
<PackageReference Include="AntDesign" Version="0.6.0-*" />
99
<PackageReference Include="AntDesign.Charts" Version="0.2.0-*" />
1010
<PackageReference Include="AntDesign.Pro.Layout" Version="0.1.0-*" />
1111
<PackageReference Include="System.Net.Http.Json" Version="5.0.0" />

.template.config/templates/wasm/AntDesign.Pro.Template.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<PackageReference Include="AntDesign" Version="0.5.0-*" />
9+
<PackageReference Include="AntDesign" Version="0.6.0-*" />
1010
<PackageReference Include="AntDesign.Charts" Version="0.2.0-*" />
1111
<PackageReference Include="AntDesign.Pro.Layout" Version="0.1.0-*" />
1212
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="5.0.0" />

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,39 +47,42 @@ An out-of-box UI solution for enterprise applications as a Blazor boilerplate.
4747
```
4848

4949
## Usage
50+
5051
### Install Template
52+
5153
```bash
52-
dotnet new -i AntDesign.Templates::0.1.0-*
54+
dotnet new -i AntDesign.Templates
5355
```
5456

55-
### Uninstall Template
57+
### Uninstall template (If you have installed it)
58+
5659
```bash
5760
dotnet new -u AntDesign.Templates
5861
```
5962

6063
### Create New Project
6164
```bash
6265
# Create an empty wasm project
63-
dotnet new antdesign --host=wasm
66+
dotnet new antdesign --host wasm
6467

6568
# Create wasm project with full pages
66-
dotnet new antdesign --host=wasm --full
69+
dotnet new antdesign --host wasm --full
6770

6871
# Create an empty server-side project
69-
dotnet new antdesign --host=server
72+
dotnet new antdesign --host server
7073

7174
# Create server-side project with full pages
72-
dotnet new antdesign --host=server --full
75+
dotnet new antdesign --host server --full
7376

7477
# Create an empty hosted project
75-
dotnet new antdesign --host=hosted
78+
dotnet new antdesign --host hosted
7679

7780
# Create hosted project with full pages
78-
dotnet new antdesign --host=hosted --full
81+
dotnet new antdesign --host hosted --full
7982
```
8083

8184
### Override Existing Project
8285
```bash
8386
## You can override an existing project with the --force
84-
dotnet new antdesign --host=wasm --force
85-
```
87+
dotnet new antdesign --host wasm --force
88+
```

README.zh-CN.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<div align="center">
66

7-
开箱即用的中台前端/设计解决方案。
7+
开箱即用的中台前端/设计解决方案,Blazor 项目模板
88

99
![](https://user-images.githubusercontent.com/8186664/44953195-581e3d80-aec4-11e8-8dcb-54b9db38ec11.png)
1010

@@ -46,39 +46,40 @@
4646
```
4747

4848
## 使用
49+
4950
### 安装模板
5051
```bash
51-
dotnet new -i AntDesign.Templates::0.1.0-*
52+
dotnet new -i AntDesign.Templates
5253
```
5354

54-
### 卸载模板
55+
### 如果已安装过,请先卸载模板
5556
```bash
5657
dotnet new -u AntDesign.Templates
5758
```
5859

5960
### 新建项目
6061
```bash
6162
# Create an empty wasm project
62-
dotnet new antdesign --host=wasm
63+
dotnet new antdesign --host wasm
6364

6465
# Create wasm project with full pages
65-
dotnet new antdesign --host=wasm --full
66+
dotnet new antdesign --host wasm --full
6667

6768
# Create an empty server-side project
68-
dotnet new antdesign --host=server
69+
dotnet new antdesign --host server
6970

7071
# Create server-side project with full pages
71-
dotnet new antdesign --host=server --full
72+
dotnet new antdesign --host server --full
7273

7374
# Create an empty hosted project
74-
dotnet new antdesign --host=hosted
75+
dotnet new antdesign --host hosted
7576

7677
# Create hosted project with full pages
77-
dotnet new antdesign --host=hosted --full
78+
dotnet new antdesign --host hosted --full
7879
```
7980

8081
### 覆盖项目
8182
```bash
8283
## You can override an existing project with the --force
83-
dotnet new antdesign --host=wasm --force
84+
dotnet new antdesign --host wasm --force
8485
```

0 commit comments

Comments
 (0)