Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
config
src
typings
.editorconfig
.gitattributes
.gitignore
.npmignore
.yo-rc.json
README.md
gulpfile.js
package.json
tsconfig.json

README.md

SPFx Demo - Add a type declaration reference

This demo is based off the SPFx RC0 Code Drop.

In this demo, we are loading the jQuery library from a CDN, not from a module. @types/jquery is installed via npm and then imported in the webpart source.

Updates include: Included @types/jquery Updated config/config.json by including the external reference for how to load our external component (in this case jQuery).

Similar in scope to: https://dev.office.com/sharepoint/docs/spfx/web-parts/basics/add-an-external-library

Building the code

git clone the repo
cd External-Library
npm install
gulp serve

Build options