@lenkan/sitegen
v0.0.12
Published
This is a simple static site generator using esbuild and react.
Downloads
4
Readme
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