Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/core.ts>ComponentLoader

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
class ComponentLoader
Re-export
import { ComponentLoader } from "https://deno.land/x/lume@v1.18.2/core.ts";

Class to load components from the _components folder.

Constructors

new
ComponentLoader(options: Options)

Properties

formats: Formats

List of loaders and engines used by extensions

Methods

load(
dirEntry: Entry,
data: Data,
components: Components,
): Promise<void>

Load a directory of components