From 7e7febbd7bbfe359100ef6a346c5e254fd156fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wictor=20Wil=C3=A9n?= Date: Thu, 1 Sep 2016 08:47:40 +0200 Subject: [PATCH] Updated and made instructions more clear --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c117f87cd..fd4989816 100644 --- a/README.md +++ b/README.md @@ -28,22 +28,28 @@ Navigate to the cloned repo folder which should be the same as the repo name: cd sp-dev-fx-webparts ``` -Navigate to the sample or tutorial folder which you want to see: +To access the samples use the following command, where you replace `sample-folder-name` with the name of the sample you want to access. ``` -cd tutorials / samples +cd samples cd sample-folder-name + +``` +and for the tutorials, use the following command: +``` +cd tutorials ``` Now run the following command to install the npm packages: ``` -npm i +npm install ``` This will install the required npm packages and dependencies to build and run the client-side project. -Once the npm packages are installed, run the command to preview your web parts in SharePoint Workbench: + +Once the npm packages are installed, run the following command to preview your web parts in SharePoint Workbench: ``` gulp serve