Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit 2f12af1

Browse files
author
WangXinhai
authored
fix it to fit more general cases
1 parent ea1f397 commit 2f12af1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ See the examples here: [https://github.com/EEParker/aspnetcore-vueclimiddleware/
1010
First, be sure to switch Vue Cli or Quasar Cli to output distribution files to wwwroot directly (not dist).
1111

1212
* Quasar CLI: regex: "Compiled successfully"
13-
* Vue CLI: regex: default or "running at"
13+
* Vue CLI: regex: default or "running at" or "Starting development server"
14+
>the reason for **`Starting development server`** ,the npm-script running checkpoint:
15+
Although the dev server may eventually tell us the URL it's listening on,
16+
it doesn't do so until it's finished compiling, and even then only if there were
17+
no compiler warnings. So instead of waiting for that, consider it ready as soon
18+
as it starts listening for requests.[see the codes](https://github.com/EEParker/aspnetcore-vueclimiddleware/blob/master/src/VueCliMiddleware/VueDevelopmentServerMiddleware.cs#L91)
1419

1520
See [Migrating Asp.Net 2.2 to 3.0 Endpoint Routing](https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-2.2&tabs=visual-studio#update-routing-startup-code)
1621
```csharp

0 commit comments

Comments
 (0)