webpackJsonp([76113469359673],{532:function(n,a){n.exports={pathContext:{frontmatter:{path:"/getting-started/standalone",title:"Standalone",hasPlayground:!1,initialPlayground:null,redirect:null},html:'

Standalone

\n

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

\n

Android

\n
\n
dependencies {\n\tcompile \'com.facebook.yoga.android:yoga-layout:x.x.x\'\n}\n
\n
\n

Javascript

\n
\n
$> yarn add yoga-layout
\n
\n

iOS

\n
\n
pod \'YogaKit\', \'~> 1.7\'
\n
\n

Including Yoga From Source

\n

If you plan to include Yoga from Source in a C++ project then all you have to do is inlude\nthe top level yoga folder. Make sure to look at the top level BUCK file to ensure you build\nusing the same compiler flags.

'}}}}); //# sourceMappingURL=path---getting-started-standalone-ef3102d26edf8d277194.js.map