Skip to content

(POC) Static Site Generation with Vite + JSX (vite-plugin-ssr)

Notifications You must be signed in to change notification settings

Julien-prrs/vite-ssg-jsx-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Static Site Generation with Vite + JSX

Simply build static websites with local and/or remote data.


Built With

Prerequisites

To run the project, the following dependencies are required

  • Node.js
  • Bun (Optional, used as runner & package manager here. Can be replaced by the package manager of your choice)

Installation

  1. Clone the repo
git clone https://github.com/Julien-prrs/vite-ssg-jsx-poc.git && cd vite-ssg-jsx-poc
  1. Install dependencies
bun install
  1. Start app in development mode
bun start

Build for production

bun build:prod

Production files are now accessible from under dist/client/ directory!

Serve localy

No need for manual build, serve command will automatically build the app on start

bun serve

About

(POC) Static Site Generation with Vite + JSX (vite-plugin-ssr)

Resources

Stars

Watchers

Forks