Skip to content

Commit bf0d520

Browse files
committed
Npm install removed from readme, now it's installed by Vue CLI Service
1 parent e4a3ac1 commit bf0d520

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,7 @@ Now application is ready to run.
6666

6767
## 2. Clone the starter with default configuration
6868

69-
* Clone this repository `git clone https://github.com/SoftwareAteliers/asp-net-core-vue-starter`
70-
71-
* Restore client-side dependencies by running `npm install` in /ClientApp folder
69+
* Just clone this repository `git clone https://github.com/SoftwareAteliers/asp-net-core-vue-starter`
7270

7371
## Run the application
7472

@@ -82,6 +80,8 @@ You have two choices when it comes to how you prefer to run the app. You can eit
8280

8381
* Run the application in VSCode or Visual Studio 2017 by hitting `F5`
8482

83+
> It will take some time during the first run to download all client side dependencies.
84+
8585
## View your application running
8686

8787
Browse to [http://localhost:5000](http://localhost:5000) for ASP.​NET Core + Vue app or browse to [http://localhost:8080](http://localhost:8080) for Vue app only.

Startup.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
5959
if (env.IsDevelopment())
6060
{
6161
// run npm process with client app
62-
spa.UseVueCli("serve", 8080); // your Vue app port
62+
spa.UseVueCli(npmScript: "serve", port: 8080);
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
65-
// spa.UseProxyToSpaDevelopmentServer("http://localhost:8080");
65+
// spa.UseProxyToSpaDevelopmentServer("http://localhost:8080"); // your Vue app port
6666
}
6767
});
6868
}

0 commit comments

Comments
 (0)