美文网首页
dotnet + vue.js启动项目

dotnet + vue.js启动项目

作者: 天方夜谭不是虚无 | 来源:发表于2022-03-16 14:31 被阅读0次

首先自行新建一个目录。
输入dotnet new vue --search可见如下:



dotnet new --install Microsoft.AspNetCore.SpaTemplates



dotnet new vue
按下回车确定还原

dotnet run


这里提示我少了Microsoft.NETCore.App2.0.0。输入这段网址
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.0.0&arch=x64&rid=win10-x64
安装一下。
再输入dotnet run
运行成功。

相关文章

网友评论

      本文标题:dotnet + vue.js启动项目

      本文链接:https://www.haomeiwen.com/subject/abcpdrtx.html