Skip to content

Commit 1cefc6e

Browse files
committed
增加dotnet new模板
1 parent 33cdcef commit 1cefc6e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.template.config/template.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
// 参考:https://docs.microsoft.com/zh-cn/dotnet/core/tools/custom-templates
3+
// 步骤1-安装模板:dotnet new -i G:\mywork\SnailAspNetCoreFramework
4+
// 步骤2-通过模板创建项目:dotnet new snailweb -n snailWebProjectName
5+
// 注意:创建项目会根据源项目模板的内容进行创建,如果源项目太大,会影响创建的时间,所以要将无用的文件删除以提高效率,如果将node_modules和obj里的文件先删除
6+
"$schema": "http://json.schemastore.org/template",
7+
"author": "zhoujing",
8+
"classifications": [ "Web" ],
9+
"identity": "SnaiAspNetCoreFramework",
10+
"name": "SnaiAspNetCoreFramework",
11+
"shortName": "SnailWeb",
12+
"preferNameDirectory": "true"
13+
}

0 commit comments

Comments
 (0)