Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dre1080/babel-preset-nuxt
- Owner: dre1080
- Created: 2020-04-08T21:53:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-22T03:46:22.000Z (over 4 years ago)
- Last Synced: 2024-12-07T23:38:35.310Z (29 days ago)
- Language: JavaScript
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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'],
}
```