- Transpile the source package
sdk-pnptimeline
cd sdk-pnptimeline
npm install
npm build
- Create a new AAD App Registration, note the ID of the application.
- Replace the clientId in
auth.ts
file.
export const msalParams: Configuration = {
auth: {
authority: "https://login.microsoftonline.com/common",
clientId: "<Your Client Id>",
redirectUri: window.location.origin
},
cache: { cacheLocation: BrowserCacheLocation.LocalStorage }
}
- Install the required dependencies
npm install --save
- Run the application
npm run start
- Building this project. Change script.start field in package.json as required.
npm run build
👉 Live Demo