Pages

Saturday, June 2, 2018

Create SharePoint Online Single Page Application with Angular 5, @PnPJS and SP-Rest-Proxy

Introduction

I was creating a Single Page Application using Angular 5, PnPJS Libraries and sp-rest-proxy.

I have created a boilerplate project in GitHub. Please clone and run the project after installing npm packages (npm install).

To run the project open two command prompts and type

npm run hmr

npm run serve.

You will be asked your SharePoint Online site url and the credentials in the command prompt. Feel free to provide them.

Once you done with these steps browse with http://localhost:4200/ and you will see your basic detail as below.

Since then you can develop your complex single page application.

image

GitHub Url

https://github.com/SuhailCloud/Angular5-PnPJS-SPRestProxy

Resources and References




No comments:

Post a Comment