aspnetcore Vue starter
Nuget 1.0.9 release
ASP.NET Core和Vue.js(VUE)的入门模板 - 使用WebPack(带有HMR),Web API,Vuex State Manangement和其他最佳实践烤制!
用ES6编写的打字稿版本即将推出!
通过Nuget软件包管理器在Visual Studio中或此处查找模板
或通过dotnet模板下载
// Make a directory where you want the project
mkdir my - vue - starter && cd my - vue - starter
// Download the dotnet template
dotnet new - i aspnetcore - vuejs
// Run and install the template
dotnet new vuejs
// Make sure you install the dependencies
npm install现在,您可以通过Visual Studio或Vscode打开项目,按F5运行该应用程序!
笔记:
dotnet new vuejs --skipRestore安装,否则这将自动运行dotnet restoredotnet new vuejs --skipRestore安装,否则这将自动运行dotnet restore$ git clone https://github.com/MarkPieszak/aspnetcore-Vue-starter.git VueWeb$ cd VueWeb/content$ dotnet restore && npm install$ code .*.sln文件当它如何运行它时,您有两种选择。您可以使用命令行或Build-In-In Run命令。
使用npm run dev运行应用程序。
通过击中F5 ,在VSCODE或Visual Studio 2017中运行该应用程序。
使用调试菜单或F5 vs vs Auto在浏览器中打开应用程序时;

没有什么是完美的,但是请通过创建一个问题让我知道(确保还没有现有问题),我们将尝试为此解决一个问题!如果您有任何好主意或想做出贡献,请随意对该提案提出问题,或者只是从叉子中造成公关。请注意,该项目与贡献者盟约行为守则一起发布。通过参加该项目,您同意遵守其条款。
寻找ASP.NET Core&Angular 7.x+通用启动器?点击这里
版权(C)2016-2019 Mark Pieszak
查看Trilon.io以获取更多信息!
通过[email protected]与我们联系,让我们谈谈您的项目需求。
Twitter:@trilon_io