Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save liborpansky/cc4d20277c794a18efabbafc2a24c14c to your computer and use it in GitHub Desktop.
Save liborpansky/cc4d20277c794a18efabbafc2a24c14c to your computer and use it in GitHub Desktop.
+ using VueCliMiddleware;
- spa.UseReactDevelopmentServer(npmScript: "start");
+ // run npm process with client app
+ spa.UseVueCli(npmScript: "serve", port: 8080);
+ // if you just prefer to proxy requests from client app, use proxy to SPA dev server instead,
+ // app should be already running before starting a .NET client:
+ // spa.UseProxyToSpaDevelopmentServer("http://localhost:8080"); // your Vue app port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment