1.2.3
A minimal Deno library for tsx prerender/SSG
Repository
Current version released
4 years ago
TSX-static
This is a minimal library for tsx pre-rendering or static site generation.
Usage
react.ts
: This file provides tsx rendering functionality.React
,StyleSheet
,Style
,DocType
, andJSX
global namespace declaration are fromreact.ts
.- More detailed description here.
builder.ts
: This provides several helpers functions to build a static site (as well as the scripts it uses) using deno-tsx (and other tools, likeDeno.emit
).emit
,loaders
, andbuild
are frombuilder.ts
.- More detailed description here.
types.dom.d.ts
: Thisd.ts
contains additional type declarations as inDOM API
, but not provided by deno. This is useful for frontend JavaScript to pass type check.- More detailed description here.