Dev Environment - Core Structure

Hi All,

I’m aware this is likely a foolish question, but what the heck…

I cloned the core repo, set up a dev environment in Visual Studio Code per the instructions, and it works fine. I have access to the devcontainer through the terminal, I can edit the source and it is reflected in the running files as you’d expect.

So, my question is this: when I go to localhost:8123 I reach the front end, which again is as you’d expect, but I can’t see where the front end code lives in the core repo (locally or on git)…it must be there somewhere since hass is serving the front end. I have not cloned the frontend repo, so I know it’s not coming from somewhere else…

Again, I’m sure this is a silly question, but several days on google has not yielded anything that answers it.

Thanks in advance

It’s installed as a python package

Oh, ok. Thanks. Which package is it? Is it editable from within the core dev environment, or does one have to set up and build a dev environment for front end too?

Sorry for the dumb questions - I’m trying to understand the structure of HomeAssistant and how the various components interact.

Thanks!

home-assistant-frontend, no you can not modify it directly you have to run a dev env for the frontend to modify the frontend

Cool. Thanks!