- From: Justin Fagnani <notifications@github.com>
- Date: Tue, 20 Jun 2017 09:02:38 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 June 2017 16:03:52 UTC
I also want to point out that HTML modules would not prescribe how component developers package their libraries, or even prescribe Web Components for that matter. There are a number of styles that components could be written and/or packaged: 1. Pure JS, using either template strings, DOM builder libraries, JSX, etc. (no HTML modules) 2. Logic in JS, template/CSS in HTML: `import template from 'template.html';` in the component's module. Maybe event `import style from 'styles.css';` is we include CSS modules. 3. Single-file, like Vue and Polymer: JavaScript, HTML and CSS all in one file. These styles could all be compatible. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/645#issuecomment-309806617
Received on Tuesday, 20 June 2017 16:03:52 UTC