vite/README.md

58 lines
3.7 KiB
Markdown
Raw Permalink Normal View History

2021-02-04 17:31:12 +00:00
<p align="center">
<a href="https://vitejs.dev" target="_blank" rel="noopener noreferrer">
<img width="180" src="https://vitejs.dev/logo.svg" alt="Vite logo">
</a>
</p>
<br/>
<p align="center">
<a href="https://npmjs.com/package/vite"><img src="https://img.shields.io/npm/v/vite.svg" alt="npm package"></a>
<a href="https://nodejs.org/en/about/releases/"><img src="https://img.shields.io/node/v/vite.svg" alt="node compatibility"></a>
<a href="https://github.com/vitejs/vite/actions/workflows/ci.yml"><img src="https://github.com/vitejs/vite/actions/workflows/ci.yml/badge.svg?branch=main" alt="build status"></a>
2021-02-04 17:31:12 +00:00
<a href="https://chat.vitejs.dev"><img src="https://img.shields.io/badge/chat-discord-blue?style=flat&logo=discord" alt="discord chat"></a>
</p>
<br/>
2020-04-21 05:04:05 +00:00
2021-02-04 17:31:12 +00:00
# Vite ⚡
2020-05-10 23:00:01 +00:00
2021-01-02 03:55:58 +00:00
> Next Generation Frontend Tooling
2020-04-21 04:42:38 +00:00
2021-01-02 03:55:58 +00:00
- 💡 Instant Server Start
- ⚡️ Lightning Fast HMR
- 🛠️ Rich Features
- 📦 Optimized Build
- 🔩 Universal Plugin Interface
- 🔑 Fully Typed APIs
2020-05-05 03:22:14 +00:00
2021-09-25 15:01:29 +00:00
Vite (French word for "quick", pronounced [`/vit/`](https://cdn.jsdelivr.net/gh/vitejs/vite@main/docs/public/vite.mp3), like "veet") is a new breed of frontend build tool that significantly improves the frontend development experience. It consists of two major parts:
2020-04-21 05:04:05 +00:00
- A dev server that serves your source files over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), with [rich built-in features](https://vitejs.dev/guide/features.html) and astonishingly fast [Hot Module Replacement (HMR)](https://vitejs.dev/guide/features.html#hot-module-replacement).
- A [build command](https://vitejs.dev/guide/build.html) that bundles your code with [Rollup](https://rollupjs.org), pre-configured to output highly optimized static assets for production.
2020-04-21 05:04:05 +00:00
In addition, Vite is highly extensible via its [Plugin API](https://vitejs.dev/guide/api-plugin.html) and [JavaScript API](https://vitejs.dev/guide/api-javascript.html) with full typing support.
2020-04-21 05:04:05 +00:00
2021-01-02 03:55:58 +00:00
[Read the Docs to Learn More](https://vitejs.dev).
2020-05-08 03:31:48 +00:00
2021-01-02 03:59:24 +00:00
## Migrating from 1.x
2021-02-16 22:50:42 +00:00
Check out the [Migration Guide](https://vitejs.dev/guide/migration.html) if you are upgrading from 1.x.
2021-01-02 03:59:24 +00:00
## Packages
2021-09-21 19:13:26 +00:00
| Package | Version (click for changelogs) |
| ------------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------- |
| [vite](packages/vite) | [![vite version](https://img.shields.io/npm/v/vite.svg?label=%20)](packages/vite/CHANGELOG.md) |
| [@vitejs/plugin-vue](packages/plugin-vue) | [![plugin-vue version](https://img.shields.io/npm/v/@vitejs/plugin-vue.svg?label=%20)](packages/plugin-vue/CHANGELOG.md) |
| [@vitejs/plugin-vue-jsx](packages/plugin-vue-jsx) | [![plugin-vue-jsx version](https://img.shields.io/npm/v/@vitejs/plugin-vue-jsx.svg?label=%20)](packages/plugin-vue-jsx/CHANGELOG.md) |
| [@vitejs/plugin-react](packages/plugin-react) | [![plugin-react version](https://img.shields.io/npm/v/@vitejs/plugin-react.svg?label=%20)](packages/plugin-react/CHANGELOG.md) |
| [@vitejs/plugin-legacy](packages/plugin-legacy) | [![plugin-legacy version](https://img.shields.io/npm/v/@vitejs/plugin-legacy.svg?label=%20)](packages/plugin-legacy/CHANGELOG.md) |
| [create-vite](packages/create-vite) | [![create-vite version](https://img.shields.io/npm/v/create-vite.svg?label=%20)](packages/create-vite/CHANGELOG.md) |
## Contribution
See [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md).
2020-04-29 15:04:53 +00:00
## License
MIT