From 00b516195584e17984fc4b07fea278172cd0ceec Mon Sep 17 00:00:00 2001 From: Adam Mills Date: Fri, 3 Mar 2017 12:35:34 -0500 Subject: [PATCH] Include yarn in the frontend instructions (#2187) --- source/developers/frontend.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/developers/frontend.markdown b/source/developers/frontend.markdown index 1a908a022b6..8a8ee08c49c 100644 --- a/source/developers/frontend.markdown +++ b/source/developers/frontend.markdown @@ -30,10 +30,13 @@ Node.js is required to setup the frontend development environment. The preferred $ cd homeassistant/components/frontend/www_static/home-assistant-polymer $ nvm install < .nvmrc ``` + +[Yarn](https://yarnpkg.com/en/) is used as the package manager for node modules. [Install yarn using the instructions here.](https://yarnpkg.com/en/docs/install) + Next step is to get the frontend code. When you clone the Home Assistant repository, the frontend repository is not cloned by default. You can setup the frontend development environment by running from the `home-assistant` directory: ```bash -$ script/setup +$ script/bootstrap_frontend ``` ## {% linkable_title Development %}