diff --git a/20241114.md b/20241114.md new file mode 100644 index 0000000000000000000000000000000000000000..0c76d8da2a460f4998b923441e198766c031bb53 --- /dev/null +++ b/20241114.md @@ -0,0 +1,7 @@ +### 笔记 + 1、dotnet new mvc -o 名 Views->Home->项目名.cshtml Controllers引用项目方法名 + 2、wwwroot->css->建项目名.css->写样式 3、.cshtml里用link引用样式 href="~/css/项目名.css" +4、dotnet run --project 名 +5、ctrl+c 结束任务 + +![20241117211222](https://syy00.oss-cn-shenzhen.aliyuncs.com/imgs/20241117211222.png) \ No newline at end of file