vite-setup-catalogue icon indicating copy to clipboard operation
vite-setup-catalogue copied to clipboard

This repository contains several example of Vite setups.

Vite setup catalogue lint test

This repository contains several example of Vite setups.

Info

None of these examples uses server.proxy but it could be used to proxy some requests.

Setups

Basic

Most basic setup. Nothing special.

Middleware Mode

Using Vite with middleware mode.

Backend Server

Using Vite with a backend server. See Backend Integration Guide | Vite.

With Proxy

Using Vite behind a reverse proxy.

With Proxy (No WebSocket)

Warning I recommend to use "With Proxy" setup if possible. It is more simple. This exists to showcase "Direct websocket connection fallback" feature.

Using Vite behind a reverse proxy that does not support proxying websocket.