Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 644 Bytes

installation.md

File metadata and controls

45 lines (31 loc) · 644 Bytes

Installation

npm

With npm:

$ npm install --save tydel

Now you can require it in your modules.

ES6 / Babel:

import tydel from 'tydel';

ES5:

const tydel = require('tydel');

Bower

With bower:

$ bower install --save tydel

Now in your HTML file:

<!DOCTYPE html>
<html>
  <body>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.13.1/lodash.min.js"></script>
    <script src="bower_components/tydel/dist/tydel.min.js"></script>
  </body>
</html>

The library would be available in window.Tydel.