Try it out in the wasm playground!
Evan says:
Maybe in the long run we want the whole transform (and even the Vue compiler!) to be implemented in native Go/Rust so performance would no longer be a concern ;)
Future is now!
- Rust library
- CLI binary
- napi based nodejs library
- wasm based npm package: a fallback if napi fails to work and a toy for browser.
- No Browser build No support since most features in full build are additional except for browser based expression checking or HTML escaping. Browser build removed them for size. But template compiler in browser is already for toy project. For browser specific summary see this google sheet.
- vuejs/core: ご本家様
- html spec is the definitive guide for parsing HTML-like files.
- Vue Template Explorer gives instant results for code generation and error reporting.
- Nu html checker is the official html validator from W3C. This is the canonical error reporter for html parsing, when there is a discrepancy between the framework and the spec.
- AST explorer can inspect AST nodes interactively.