Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nuxt/vite

โšก Vite Experience with Nuxt 2
https://github.com/nuxt/vite

Last synced: 4 months ago
JSON representation

โšก Vite Experience with Nuxt 2

Awesome Lists containing this project

README

        

# DEPRECATED

This module is now part of the [Nuxt Bridge](https://nuxt.com/docs/bridge/overview). Please report issues to the [nuxt/framework](https://github.com/nuxt/framework) repo instead.

---


Vite Experience with Nuxt 2. GitHub.com/nuxt/vite

[![](https://img.shields.io/npm/dm/nuxt-vite.svg?style=flat-square)](https://npmjs.com/package/nuxt-vite)
[![](https://img.shields.io/npm/v/nuxt-vite/latest.svg?style=flat-square)](https://npmjs.com/package/nuxt-vite)
[![](https://img.shields.io/github/workflow/status/nuxt/vite/ci/main?style=flat-square)](https://github.com/nuxt/vite/actions)
[![](https://img.shields.io/codecov/c/gh/nuxt/vite/main?style=flat-square)](https://codecov.io/gh/nuxt/vite)

**๐Ÿงช Vite mode is experimental and many Nuxt modules are still incompatible. If you find a bug, please report via [issues](https://github.com/nuxt/vite/issues) with a minimal reproduction.**

๐Ÿ’ก We are trying to make most modules and options work out-of-the-box. If you are a module maintainer,
please see [this section](https://vite.nuxtjs.org/advanced/modules) for supporting Vite. If a module or feature is missing, feel free to open an issue.

## โšก Quick Start

Install `nuxt-vite`: (nuxt >= 2.15.0 is required)

```sh
yarn add --dev nuxt-vite
# OR
npm i -D nuxt-vite
```

Add to `buildModules`:

```js
// nuxt.config
export default {
buildModules: [
'nuxt-vite'
]
}
```

That's it! Now you can enjoy a super fast `nuxt dev` experience with Vite!

**[๐Ÿ“– Read documentation for more](https://vite.nuxtjs.org)**

## โค๏ธ Credits

This module could not be possible without [vite-plugin-vue2](https://github.com/underfin/vite-plugin-vue2) by [@underfin](https://github.com/underfin)

Published under MIT License