GithubHelp home page GithubHelp logo

jonathanhotono / sp-dev-fx-webparts-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bengweeks/sp-dev-fx-webparts

0.0 2.0 0.0 63 KB

This repository contains some additional sample sp-dev-webparts.

Home Page: http://www.webtechy.co.uk

sp-dev-fx-webparts-1's Introduction

SharePoint Framework client-side web part additional samples

This repository contains additional web parts to be supplied over and above the samples provided in the SharePoint sp-dev-fx-webparts repository.

Note: This repository uses the initial GA release of the SharePoint Framework as well as the RC.0 of the Kendo UI for Angular 2.

Prerequisites

You will need the following:

  • Node.js (v4 or above)
  • NPM (v3 or above)
  • Visual Studio Code (recommended)
  • An account with Telerik

To install the npm packages for Kendo UI for Angular 2, we first need to sign-up for an account. To do this, register for a trial at:

http://www.telerik.com/kendo-angular-ui/getting-started/

Enable the Progress (the company that built Kendo UI for Angular 2 for Telerik) NPM registry:

npm login --registry=https://registry.npm.telerik.com/ --scope=@progress

Note: The username is the first part of your email address before the โ€œ@โ€ symbol.

Now confirm it runs, using:

npm view @progress/kendo-angular-grid versions

Using the samples

To build and start using these projects, you'll need to clone and build the projects.

Clone this repo by executing the following command in your console:

git clone https://github.com/webtechy/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

To access the samples use the following command, where you replace sample-folder-name with the name of the sample you want to access.

cd samples
cd sample-folder-name

Now run the following command to install the npm packages:

npm install

This will install the required npm packages and dependencies to build and run the client-side project.

Once the npm packages are installed, run the following command to preview your web parts in SharePoint Workbench:

gulp serve

Building for production

To build for production, use

gulp clean
gulp build --ship
gulp bundle --ship
gulp package-solution --ship

Additional resources

Blog posts of using building these samples will soon be created at the link above - keep posted.

Please feel free to get in touch on Twitter @webtechy.

Sharing is caring!

sp-dev-fx-webparts-1's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.