mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 04:46:49 +00:00
Add configuration.yaml sample
This commit is contained in:
parent
23434e1c22
commit
0ea8514b1c
@ -10,7 +10,7 @@ footer: true
|
||||
ha_category: Custom Panel Examples
|
||||
---
|
||||
|
||||
This is a [React](https://facebook.github.io/react/) implementation of [TodoMVC](http://todomvc.com/) but instead of checking off to do items, you're turning lights and switches on/off.
|
||||
This is a [React](https://facebook.github.io/react/) implementation of [TodoMVC](http://todomvc.com/) but instead of checking off to do items, you are turning lights and switches on/off.
|
||||
|
||||
- It uses React to render the data.
|
||||
- It hooks into Home Assistant JS which means updates pushed from the server are instantly rendered.
|
||||
@ -20,6 +20,13 @@ This is a [React](https://facebook.github.io/react/) implementation of [TodoMVC]
|
||||
|
||||
All you need is available as a [custom component](https://github.com/home-assistant/home-assistant/tree/dev/config/custom_components/react_panel).
|
||||
|
||||
Create a entry for the panel in your `configuration.yaml` file to enable it. Set a title if you like.
|
||||
|
||||
```yaml
|
||||
react_panel:
|
||||
title: 'React'
|
||||
```
|
||||
|
||||
This video shows the frontend in action.
|
||||
|
||||
<div class='videoWrapper'>
|
||||
|
Loading…
x
Reference in New Issue
Block a user