Skip to content

Just another SSR-ready vite-react starter template with vike, unocss & strict development setup. React 18 streaming enabled (Server / Client) 🌊

Notifications You must be signed in to change notification settings

richard-unterberg/ts-react-vike-start

Repository files navigation

TypeScript + React + Vike

feat. Uno CSS + ESLint + Prettier

An SSR-ready vite-react starter with vike and my usual friends tailwind and lucide-icons 😙.

Features:

  • vike (vite + ssr)
  • Uno CSS
  • SPA + SSR
  • Fontsource
  • Lucide Icons
  • ES6 Path Aliases (#components, #renderer)
  • Github-pages workflow
  • React Streaming enabled
  • Full Dev Setup
    • ESLint
    • Prettier + Prettier Sort Imports
    • Husky + lint-staged
    • editorconfig

Coming soon:

  • Client Side Fetching Example
  • Server Side Fetching Example

Usage

Install

  • clone
  • run npm install in root

Development

Start local dev server:

npm run dev

Build

build production ready copy to dist folder:

npm run build

Preview Build

to preview production-build locally:

# build before preview
npm run build

# the run preview
npm run preview

About

Just another SSR-ready vite-react starter template with vike, unocss & strict development setup. React 18 streaming enabled (Server / Client) 🌊

Topics

Resources

Stars

Watchers

Forks

Languages