Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

konradmi/vinxi-preact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[ARCHIVED] MOVED TO the preact-start repository

vinxi-preact

A small PoC Preact metaframework built on top of Vinxi.

How to use

  1. Clone the repository
  2. Run yarn install
  3. Include your routes in the app/src/routes folder
  • All .tsx files are exposed as routes
  • /posts/index.tsx and /posts.tsx are equivalent
  • route params are supported via [param] syntax in the folder name
  • to preload data, export a loader function in the route file. This function will be called both on the server and the client
  1. Run yarn start

Releases

No releases published

Packages

No packages published