nuxt-babel-runtime

Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime.

OTHER License

Downloads
1.1K
Stars
0
Committers
8

nuxt-babel-runtime

Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime.

Install

# npm
$ npm install nuxt-babel-runtime

# Yarn
$ yarn add nuxt-babel-runtime

Usage

Nuxt allows to customize the babel configuration for the build. But this does not take module files or nuxt.config.js into account. This package provides a CLI that starts Nuxt with a babel config.

First create a babel config file like .babelrc.json in your project path.

Then, simply run nuxt-babel as you would run nuxt:

$ nuxt-babel dev
$ nuxt-babel build
$ nuxt-babel start

Contribute

Are you missing something or want to contribute? Feel free to file an issue or a pull request! ⚙️

Support

Hey, I am Sebastian Landwehr, a freelance web developer, and I love developing web apps and open source packages. If you want to support me so that I can keep packages up to date and build more helpful tools, you can donate here:

Thanks a lot for your support! ❤️

See also

  • nuxt-mail: Adds email sending capability to a Nuxt.js app. Adds a server route, an injected variable, and uses nodemailer to send emails.
  • nuxt-route-meta: Adds Nuxt page data to route meta at build time.
  • nuxt-modernizr: Adds a Modernizr build to your Nuxt.js app.
  • nuxt-mermaid-string: Embed a Mermaid diagram in a Nuxt.js app by providing its diagram string.
  • nuxt-content-git: Additional module for @nuxt/content that replaces or adds createdAt and updatedAt dates based on the git history.

License

MIT License © Sebastian Landwehr

Package Rankings
Top 11.07% on Npmjs.org