Vite (software)

Vite (French: [vit], like "veet") is a local development server written by Evan You (the creator of Vue.js) and used by default by Vue and for React project templates. It has support for TypeScript and JSX.

Vite
Original author(s)Evan You
Initial release20 April 2020 (2020-04-20)
Stable release
4.4.1 / 6 July 2023 (2023-07-06)
Repositorygithub.com/vitejs/vite
Written inTypeScript
PlatformNode.js, Deno
Available inEnglish
Docs in English, Chinese, Japanese and Spanish
TypeDevelopment server
LicenseMIT License
Websitevitejs.dev

It monitors files as they're being edited and upon file save the web browser reloads the code being edited through a process called Hot Module Replacement (HMR) which works by just reloading the specific file being changed using ES6 modules (ESM) instead of recompiling the entire application.

Vite provides built-in support for server-side rendering (SSR). By default, it listens on TCP port 5173. It is possible to configure Vite to serve content over HTTPS and proxy requests (including WebSocket) to a back-end web server (such as Apache HTTP Server or lighttpd).

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.