Barnes-Preact
Render your files into strings with Preact components!
Prerequisites
You'll need to have some Preact components lying around - this can be either
imported and passed directly as a layout
property or as a string, to be
required by the plugin.
Installation
yarn add barnes-preact
Usage
;; // pass an optional (can be async) function; its result will be passed as the// component's data prop; async { await '/Users/Dev/Documents' // assign layout property to each file // convert layout'd files to HTML // all layout'd files are now HTML! ;};