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…

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…

The comments are only generated in dev mode, when you deploy it to prod they will not be present.
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.
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 cleanand a full recompile.
Tks Sir Juan