From ce3496a6219b75c323874c54a1181d9ee17b8d1b Mon Sep 17 00:00:00 2001 From: randomguy-2650 <150704902+randomguy-2650@users.noreply.github.com> Date: Wed, 24 Sep 2025 19:47:45 +0200 Subject: [PATCH] Improve contributing page (#1443) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add `@customElement()` decorator • Hope this doesn’t ping some random user * replace “->” with “→” --- packages/webawesome/docs/docs/resources/contributing.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/webawesome/docs/docs/resources/contributing.md b/packages/webawesome/docs/docs/resources/contributing.md index 447dc6792..9af29f930 100644 --- a/packages/webawesome/docs/docs/resources/contributing.md +++ b/packages/webawesome/docs/docs/resources/contributing.md @@ -296,6 +296,7 @@ Then use the following syntax for comments so they appear in the generated docs. * @cssproperty --color: The component's text color. * @cssproperty --background-color: The component's background color. */ +@customElement('wa-example') export default class WaExample { // ... } @@ -396,7 +397,7 @@ Guidelines for writing tests: ### Running tests -Right now, tests run both "hydrated" (SSR -> client hydrated) and "client only". If you're debugging only one specific kind you can set an environment variable. For example, to run only the client tests, you can do: +Right now, tests run both "hydrated" (SSR → client hydrated) and "client only". If you're debugging only one specific kind you can set an environment variable. For example, to run only the client tests, you can do: ```bash CSR_ONLY="true" npm run test