Web Components for Sage


#1

Hi! Does Sage has an aproach to creating components (or web components)?
I have found the flyntwp.com project and uses roots bedrock, ACF, Twig to accomplish a way to create an encapsulated modular component (HTML + CSS + JS).
I think it may be a good way to create new Wordpress projects similar to the HTML5 web component philosophy :wink:
Maybe is also a good idea to use polymer or simple web components inside wordpress development flow, i’m starting now thinking about how can be this integration: https://github.com/them-es/themes-starter-spa

Thank you!


#2

Here’s one approach: