Include yarn in the frontend instructions (#2187)

This commit is contained in:
Adam Mills 2017-03-03 12:35:34 -05:00 committed by Paulus Schoutsen
parent cc5aff6da5
commit 00b5161955

View File

@ -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 %}