# CEWT _Custom elements with (type-guarded) templates. Pronouced like "cute"_ The scope of this project is currently in flux. There are some remnants of incomplete code back when this project was intended to eventually be an SSR/SSG suite, but then I realized, "that's needlessly complicated"! I don't imagine the TypeScript code generation will change much (if at all) so if you'd like to use this as part of your project, it's probably best to stick with only the `cewt codegen` command with the `--inline-html` option. ## Installing I currently don't provide any pre-compiled binaries, so for now, you can `cargo install cewt`. ## Overview Cewt doesn't intend to force you to subscribe to an entirely new abstraction (read: lie and burden the user with the consequences) on how you interact with the DOM. The use of auto-generated TypeScript code from HTML snippets has 2 key benefits. 1. Less computational overhead at runtime 2. Is completely transparent about the work it tries to do for you. ### TypeScript code generation When defining your elements, `cewt` recursively searches for `.html` files in a specified folder. The `.html` files it looks for are those which contains one or more `