Getting Started with the Standalone Library
To use Foundation as a standalone library, you must first install the TypeScript compiler. Version 1.8.10 or above is recommended (this is the version used for development). The easiest way to install the TypeScript compiler is by using NPM. Open a terminal / console and run:
npm install -g typescript@">=1.8.10"
Next, download the latest tagged version of Foundation and extract the downloaded archive to a location of your choice. Open a terminal / console in the
foundation/core directory and run:
The compiled code (
.d.ts files) will be available in the
Using the TypeScript Standalone library
@TODO Documentation pending. While you're waiting, and if you're feeling adventurous, you could take a look at the tool chain project templates in the
foundation/.projectTemplates directory. You can ignore the
project.json file, but everything else will give you an idea of how you might go about starting a new Foundation project from scratch when using as a standalone library.