Skip to content

brillout/vite-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of a framework built on top of Vite + vite-plugin-ssr.

Framework code: /vite-framework/.

Example of using the framework: /user-code/.

The renderer is implemented by the framework:

The user can then simply use the framework's renderer:

The framework offers settings to allow the user to define things like the page wrapper, the head meta tags, etc.:

Also note that the framework implements a <Link> component that automatically sets the is-active CSS class.

The same thing could be done for the server code.

To run the example project:

git clone git@github.com:brillout/vite-framework
cd vite-framework/
yarn
yarn dev

About

Example of a framework built on top of Vite + vite-plugin-ssr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published