Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/juliancataldo/astro-template-extensions
- Owner: JulianCataldo
- Created: 2023-01-14T05:52:09.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-14T06:18:45.000Z (almost 2 years ago)
- Last Synced: 2024-12-15T01:08:11.040Z (19 days ago)
- Topics: astro, custom-elements, proposal, template-strings, w3c, web-components
- Language: JavaScript
- Homepage: https://juliancataldo.github.io/astro-template-extensions/
- Size: 68.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).