- Replaced @TIER: TRIVIAL with @COMPLEXITY: 1 - Replaced @TIER: STANDARD with @COMPLEXITY: 3 - Replaced @TIER: CRITICAL with @COMPLEXITY: 5 - Manually elevated specific critical/complex components to levels 2 and 4 - Ignored legacy, specs, and node_modules directories - Updated generated semantic map
18 lines
294 B
Svelte
Executable File
18 lines
294 B
Svelte
Executable File
<!-- [DEF:Counter:Component] -->
|
|
<!--
|
|
@COMPLEXITY: 1
|
|
@PURPOSE: Simple counter demo component
|
|
@LAYER: UI
|
|
-->
|
|
<script>
|
|
let count = $state(0);
|
|
const increment = () => {
|
|
count += 1;
|
|
};
|
|
</script>
|
|
|
|
<button onclick={increment}>
|
|
count is {count}
|
|
</button>
|
|
<!-- [/DEF:Counter:Component] -->
|