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