Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juliancataldo/astro-template-extensions

An AstroJS adaptation of the Template Extensions (Web Components) examples.
https://github.com/juliancataldo/astro-template-extensions

astro custom-elements proposal template-strings w3c web-components

Last synced: 16 days ago
JSON representation

An AstroJS adaptation of the Template Extensions (Web Components) examples.

Awesome Lists containing this project

README

        

# Astro — Template Extensions (Web Components proposal)

An AstroJS adaptation of the [Template Extensions](https://github.com/luwes/template-extensions) examples.

```
pnpx degit https://github.com/JulianCataldo/astro-template-extensions astro-te-demo
cd astro-te-demo && pnpm i && pnpm dev
```

See the [live demo](https://juliancataldo.github.io/astro-template-extensions).

# Notes

- We can escape template strings variables with `{'{{ var }}'}` or `is:raw` Astro directive.

# See also

- [custom-elements-ssr](https://github.com/thepassle/custom-elements-ssr#readme), could be explored for isomorphic template strings bindings + rendering, with an AstroJS renderer.
- The [ESX proposal](https://github.com/ungap/esx).