Files
yoga/website/contents/getting-started/standalone.md
Emil Sjölander c06ee92251 Add standalone docs
Reviewed By: danielbuechele

Differential Revision: D6976384

fbshipit-source-id: 329dd6b5997ab83d408fb330421624cf85e3f09e
2018-02-13 07:42:41 -08:00

638 B

path, title, hasPlayground
path title hasPlayground
getting-started/standalone Standalone false

Standalone

Adding Yoga to a project is as simple as adding the dependency to your package manager of choice.

Android

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.