b240aad561 | ||
---|---|---|
.. | ||
.vscode | ||
config | ||
src | ||
typings | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.npmignore | ||
README.md | ||
gulpfile.js | ||
package.json | ||
tsconfig.json | ||
tsd.json |
README.md
Getting started with client-side web parts
Summary
This web-part-tutorials client-side project includes the web parts detailed in the Getting Started walkthroughs. The solution contains the following web parts:
Web part | Getting Started Walkthrough |
---|---|
helloWorld | Build your first web part |
helloWorldSharePoint | Connect your client-side web part to SharePoint |
jQuery | Add jQueryUI Accordion to your SharePoint client-side web part |
documentCardExample | Use Office UI Fabric React components in your SharePoint client-side web part |
Applies to
Solution
Solution | Author(s) |
---|---|
web-part-tutorials | Microsoft SharePoint Framework Team |
Version history
Version | Date | Comments |
---|---|---|
0.0.1 | August 31st 2016 | Initial release supporting SharePoint Framework developer preview. |
Disclaimer
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
Build and run the tutorials
To build and run this client-side project, you will need to clone and build the tutorials project.
Clone this repo by executing the following command in your console:
git clone https://github.com/SharePoint/sp-dev-fx-webparts.git
Navigate to the cloned repo folder which should be the same as the repo name:
cd sp-dev-fx-webparts
Navigate to the tutorials
folder:
cd tutorials
Now run the following command to install the npm packages:
npm i
This will install the required npm packages and depedencies 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:
gulp serve