mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Add frontend instructions to get JS changes into Polymer
This commit is contained in:
parent
e180f2e040
commit
c85e9978f5
2
_deploy
2
_deploy
@ -1 +1 @@
|
|||||||
Subproject commit c51e7db48bfc094a461b63c3c47029fc31f04252
|
Subproject commit 1e601ac57f1afbc285a357bcb91e8c5d1af0b9f8
|
@ -44,6 +44,8 @@ npm run js_dev
|
|||||||
|
|
||||||
`npm run js_dev` will start the process that will ensure that your latest changes to the JavaScript files will be loaded when you refresh the page. This command has to be always running while working on home-assistant-js.
|
`npm run js_dev` will start the process that will ensure that your latest changes to the JavaScript files will be loaded when you refresh the page. This command has to be always running while working on home-assistant-js.
|
||||||
|
|
||||||
|
After your changes have been accepted into the `home-assistant-js` repository, we'll have to update Home Assistant Polymer to use the latest version. This can be done by updating `package.json`. Look for the line that contains `home-assistant-js` and update the SHA to the SHA of your commit.
|
||||||
|
|
||||||
# {% linkable_title Building the Polymer frontend %}
|
# {% linkable_title Building the Polymer frontend %}
|
||||||
|
|
||||||
Building a new version of the frontend is as simple as running `scripts/build_frontend`. This fires off the following commands:
|
Building a new version of the frontend is as simple as running `scripts/build_frontend`. This fires off the following commands:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user