mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 15:26:29 +00:00
docs: add instructions of how to register lovelace resources via yaml (#2236)
* docs: add instructions of how to register lovelace resources via yaml * Update docs/frontend/custom-ui/registering-resources.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Update registering-resources.md --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
776681d0e2
commit
5dee7c23b8
@ -19,3 +19,11 @@ This area is only available when the active user's profile has "advanced mode" e
|
||||
:::
|
||||
|
||||

|
||||
|
||||
Alternatively, you can also register the resource by adding it to the `resources` section of `lovelace` in the configuration:
|
||||
|
||||
```yaml
|
||||
resources:
|
||||
- url: /local/<name of the resource>.js
|
||||
type: module
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user