Skip to content
This repository has been archived by the owner on Sep 3, 2021. It is now read-only.

Latest commit

 

History

History
52 lines (35 loc) · 1.67 KB

installing.md

File metadata and controls

52 lines (35 loc) · 1.67 KB

Installing

There are many ways to get started with Toolkit. Choose the one that's right for you or your project.

Download

The easiest option would be to download the latest stable version from the official Toolkit GitHub. The current version can be found at the top of the tag list, simply click the "zip" icon.

Once downloaded, extract the zip archive and its contents. The production ready CSS and JavaScript files can be found in the dist folder. Copy these files into a project and you're done!

Git Clone

The popular option would be to clone the git repository. This provides the distribution files and the source files for a more seamless integration.

Just run the following command to clone the repository.

[sudo] git clone git@github.com:titon/toolkit.git

Bower

Toolkit also comes bundled as a Bower package. Simply add toolkit as a dependency within your project's bower.json.

{
    "dependencies": {
        "toolkit": "*"
    }
}

From the project root, run bower install to download the package(s). Once downloaded, include the assets in your project.

<link href="/bower_components/toolkit/dist/toolkit.min.css" rel="stylesheet">
<script src="/bower_components/toolkit/dist/toolkit.min.js"></script>

NPM

Lastly, Toolkit comes bundled as a Node.js package. Simply add titon-toolkit as a dependency within your project's package.json.

{
    "dependencies": {
        "titon-toolkit": "*"
    }
}

Then run npm install or npm update to download the packages.