From f6b26e184f4059b5d08464033e9283fe854951a5 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 27 Feb 2022 19:45:29 +0100 Subject: [PATCH] review tips --- .../README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/samples/react-save-to-onedrive-app-personal-folder/README.md b/samples/react-save-to-onedrive-app-personal-folder/README.md index 96c8e1eb6..8bbc8fc74 100644 --- a/samples/react-save-to-onedrive-app-personal-folder/README.md +++ b/samples/react-save-to-onedrive-app-personal-folder/README.md @@ -46,6 +46,17 @@ Version|Date|Comments -------|----|-------- 1.0|Februaru 21, 2022|Initial release +## How to debug (local testing) + +please follow those instructions being in the root folder (react-save-to-onedrive-app-personal-folder): +- go to library folder `cd library` +- bundle and build the solution running `gulp bundle --ship` and then `gulp build` +- run the command `npm link` +- go to the webpart folder `cd ../webpart` +- run the command `npm link manage-data` +- modify the 'config/serve.json' file and specify the `initialPage` with your local workbench +- test the webpart locally running `gulp serve` + ## Minimal Path to Awesome - Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-save-to-onedrive-app-personal-folder) then unzip it)