Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.17.3/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