【文件属性】:
文件名称:spectrum-web-components:Spectrum Web组件
文件大小:2.7MB
文件格式:ZIP
更新时间:2021-03-18 08:48:27
spectrum webcomponents adobe TypeScript
频谱网组件
Spectrum Web Components是一个具有前瞻性的项目,旨在基于Web组件,ES模块和现代浏览器标准开发Adobe Spectrum设计语言。
它不支持较旧的浏览器,仅针对完全实现Custom Elements V1规范的现代常绿浏览器,例如Chrome,Firefox,Safari。尽量避免使用Polyfills。
要求
NodeJS> = 12.18.3
打字稿
具有Custom Elements V1和Shadow DOM支持的浏览器,例如Chrome,Firefox,Safari,Edge(79+)或在较旧的浏览器中使用适当的 。
入门
git clone https://github.com/adobe/spectrum-web-components.git
cd spectrum-web-components
yarn
对yarn的调用随后将触发脚本,