mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-28 10:00:53 -05:00
Updated Getting started (markdown)
parent
503cd64aea
commit
306a4d84ee
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
### Install
|
### Install
|
||||||
|
|
||||||
Download the [latest release](https://github.com/liabru/matter-js/releases) and include the script in your web page e.g.
|
Download the [latest release](https://github.com/liabru/matter-js/releases) and include the script in your web page:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="matter-0.8.0.js" type="text/javascript"></script>
|
<script src="matter-0.8.0.js" type="text/javascript"></script>
|
||||||
|
@ -10,6 +10,9 @@ For the latest features try the [edge version (master)](https://raw.github.com/l
|
||||||
|
|
||||||
You can also install using the package managers [Bower](http://bower.io/search/?q=matter-js) and [NPM](https://www.npmjs.org/package/matter-js).
|
You can also install using the package managers [Bower](http://bower.io/search/?q=matter-js) and [NPM](https://www.npmjs.org/package/matter-js).
|
||||||
|
|
||||||
|
bower install matter-js
|
||||||
|
npm install matter-js
|
||||||
|
|
||||||
### Usage example
|
### Usage example
|
||||||
|
|
||||||
The following is a minimal example to get you started:
|
The following is a minimal example to get you started:
|
||||||
|
|
Loading…
Reference in a new issue