How to hide or remove about information using phoenix framework?

In the below, i try to inspect source code in browser, and i think the greentext that showing my detail about using component is open, how to remove those all the green text…

image

The comments are only generated in dev mode, when you deploy it to prod they will not be present.

1 Like

Tks Sir,
i will try it

It will still be visible in the source that you are using Phoenix though, <div phx-click=""> etc. is still present, plus the JS for the websocket setup.

1 Like

You can disable the debug annotations in dev mode if you want by changing the dev.exs config:

- config :phoenix_live_view, debug_heex_annotations: true
+ config :phoenix_live_view, debug_heex_annotations: false

Just be aware

Changing this configuration will require mix clean and a full recompile.

1 Like

Tks Sir Juan

1 Like