Files
yoga/website/contents/getting-started/standalone.md
Emil Sjölander bbdb62e654 Use absolute paths in links
Summary: allow-large-files

Reviewed By: danielbuechele

Differential Revision: D7023260

fbshipit-source-id: a797d09b61530b13da10e02c21acef13c508470c
2018-02-19 02:57:52 -08:00

36 lines
639 B
Markdown

---
path: "/getting-started/standalone"
title: "Standalone"
hasPlayground: false
---
# Standalone
Adding Yoga to a project is as simple as adding the dependency to your package manager of choice.
### Android
```groovy
dependencies {
compile 'com.facebook.yoga.android:yoga-layout:x.x.x'
}
```
### Javascript
```
$> yarn add yoga-layout
```
### iOS
```
pod 'YogaKit', '~> 1.7'
```
## Including Yoga From Source
If you plan to include Yoga from Source in a C++ project then all you have to do is inlude
the top level `yoga` folder. Make sure to look at the top level `BUCK` file to ensure you build
using the same compiler flags.