0.0.12 • Published 6 months ago

@lenkan/sitegen v0.0.12

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Static site generator

This is a simple static site generator using esbuild and react.

Installation

npm i @lenkan/sitegen

Usage

Create an entrypoint app.tsx

import { render } from "@lenkan/sitegen";

export default render({
  "/": {
    component: function App() {
      return <div>Hello world</div>;
    },
  },
});

Build the output

npx sitegen app.tsx dist
0.0.12

6 months ago

0.0.11

6 months ago

0.0.10

6 months ago

0.0.9

6 months ago

0.0.8

6 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

9 months ago

0.0.1

10 months ago