Update docs to reflect new guidance of Lit recommended for new WebUI.
Also updating webui_in_chrome as follows:
- Remove section on custom tsconfig_base since the vast majority of
UIs should be able to use the build_webui() default configuration
files (which are automatically selected for Polymer/Lit use as
needed).
- Updating guidance on sharing resources across WebUI to link to
the newer WebUI code sharing doc and better reflect current best
practice.
- Updating WebUIConfig guidance to reference DefaultWebUIConfig, which
is recommended for cases like the example where there are no
parameters passed to the controller class.
Bug: 40943652
Change-Id: I1d2d77d36fe13bcc830c5d32fb956cdf1e7b78f8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5564524
Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1305177}