Skip to content
Branch: master
Find file History
Latest commit d6ab0e0 Mar 15, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
.vscode SPFx Proxy Example Nov 27, 2017
assets SPFx Proxy Example Nov 27, 2017
config
src/webparts SPFx Proxy Example Nov 27, 2017
typings SPFx Proxy Example Nov 27, 2017
.editorconfig SPFx Proxy Example Nov 27, 2017
.gitignore Misc Mar 8, 2018
.yo-rc.json SPFx Proxy Example Nov 27, 2017
README.md SPFx Proxy Example Nov 27, 2017
gulpfile.js SPFx Proxy Example Nov 27, 2017
package.json Misc Mar 15, 2019
proxy.js Update proxy.js Sep 6, 2018
tsconfig.json SPFx Proxy Example Nov 27, 2017
tslint.json SPFx Proxy Example Nov 27, 2017

README.md

spfx-proxy-example

Install dependencies

npm install

Configure proxy

npm run proxy

Follow the wizard instaructions.

Configure SharePoint Web URL

Open ./src/webparts/settings.ts and change:

// Should be updated with environment web relative URL
export const webRelativeUrl = '/sites/dev-a';

'/sites/dev-a' to your SharePoint web URL.

Run dev mode with proxy

npm run serve

Add HelloWorld web part on the page

Done!

You can’t perform that action at this time.