Skip to content

Commit 5e87d4d

Browse files
committed
VueCliMiddleware updated to 2.2.0 with updated regex, fixes #3
1 parent 2af5b60 commit 5e87d4d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

AspNetCoreVueStarter.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,13 @@
1313
<Copyright>MIT 2019 Software Ateliers</Copyright>
1414
<AssemblyName>AspNetCoreVueStarter</AssemblyName>
1515
<RootNamespace>AspNetCoreVueStarter</RootNamespace>
16+
<Version>1.0.1</Version>
1617
</PropertyGroup>
1718

1819
<ItemGroup>
1920
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0" />
2021
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="2.2.0" />
21-
<PackageReference Include="VueCliMiddleware" Version="2.1.1" />
22+
<PackageReference Include="VueCliMiddleware" Version="2.2.0" />
2223
</ItemGroup>
2324

2425
<ItemGroup>

Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
5959
if (env.IsDevelopment())
6060
{
6161
// run npm process with client app
62-
spa.UseVueCli(npmScript: "serve", port: 8080);
62+
spa.UseVueCli(npmScript: "serve", port: 8080, regex: "Compiled ");
6363
// if you just prefer to proxy requests from client app, use proxy to SPA dev server instead:
6464
// app should be already running before starting a .NET client
6565
// spa.UseProxyToSpaDevelopmentServer("http://localhost:8080"); // your Vue app port

0 commit comments

Comments
 (0)