Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dre1080/babel-preset-nuxt

A babel preset for Nuxt.js.
https://github.com/dre1080/babel-preset-nuxt

Last synced: 9 days ago
JSON representation

A babel preset for Nuxt.js.

Awesome Lists containing this project

README

        

# babel-preset-nuxt

[![npm (scoped)](https://img.shields.io/npm/v/@dre1080/babel-preset-nuxt)](https://www.npmjs.org/package/@dre1080/babel-preset-nuxt)

> A babel preset for [Nuxt.js](https://nuxtjs.org).

## Install

**With Yarn**

```sh
$ yarn add --dev core-js@3 @babel/runtime-corejs3 @dre1080/babel-preset-nuxt
```

**With npm**

```sh
$ npm install core-js@3 @babel/runtime-corejs3 @dre1080/babel-preset-nuxt --save-dev
```

## Usage

Just add the following to `nuxt.config.js`:

```js
babel: {
presets: ['@dre1080/nuxt'],
}
```