Logo
Explore Help
Register Sign In
js/webawesome
1
0
Fork 0
You've already forked webawesome
mirror of https://github.com/shoelace-style/webawesome.git synced 2026-01-19 15:34:15 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
base
webawesome/docs/_data/components.js

4 lines
145 B
JavaScript
Raw Permalink Normal View History

Indices of components by attribute, slot, part, etc. (#240) * Simplify how list of components is exposed to 11ty No need for functions or computing multiple times, that's what data is for! * Add attributes to component data * Cleanup * Add slug (tagName without wa-) * Add component reference / cheatsheet
2024-11-24 21:19:50 -05:00
import componentList from './componentList.js';
export default Object.fromEntries(componentList.map(component => [component.slug, component]));
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 32ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API