You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: src/VueCliMiddleware/VueDevelopmentServerMiddlewareExtensions.cs
+20-12Lines changed: 20 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -25,14 +25,17 @@ public static class VueCliMiddlewareExtensions
25
25
/// <param name="https">Specify vue cli server schema </param>
26
26
/// <param name="runner">Specify the runner, Npm and Yarn are valid options. Yarn support is HIGHLY experimental.</param>
27
27
/// <param name="regex">Specify a custom regex string to search for in the log indicating proxied server is running. VueCli: "running at", QuasarCli: "Compiled successfully"</param>
28
+
/// <param name="forceKill"></param>
29
+
/// <param name="wsl"></param>
28
30
publicstaticvoidUseVueCli(
29
31
thisISpaBuilderspaBuilder,
30
32
stringnpmScript="serve",
31
33
intport=8080,
32
34
boolhttps=false,
33
35
ScriptRunnerTyperunner=ScriptRunnerType.Npm,
34
36
stringregex=VueCliMiddleware.DefaultRegex,
35
-
boolforceKill=false)
37
+
boolforceKill=false,
38
+
boolwsl=false)
36
39
{
37
40
if(spaBuilder==null)
38
41
{
@@ -46,7 +49,7 @@ public static void UseVueCli(
46
49
thrownewInvalidOperationException($"To use {nameof(UseVueCli)}, you must supply a non-empty value for the {nameof(SpaOptions.SourcePath)} property of {nameof(SpaOptions)} when calling {nameof(SpaApplicationBuilderExtensions.UseSpa)}.");
// based on CreateRequestDelegate() https://github.com/aspnet/AspNetCore/blob/master/src/Middleware/StaticFiles/src/StaticFilesEndpointRouteBuilderExtensions.cs#L194
0 commit comments