mirror of
https://github.com/lucide-icons/lucide.git
synced 2026-11-13 13:48:26 +00:00
14 lines
379 B
TypeScript
14 lines
379 B
TypeScript
import { getAllCategoryFiles } from '../.vitepress/lib/categories.ts';
|
|
import iconMetaData from '../.vitepress/data/iconMetaData.ts';
|
|
|
|
export default {
|
|
async load() {
|
|
return {
|
|
categories: getAllCategoryFiles(),
|
|
iconCategories: Object.fromEntries(
|
|
Object.entries(iconMetaData).map(([name, { categories }]) => [name, categories]),
|
|
),
|
|
};
|
|
},
|
|
};
|