Skip to content

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

License

Notifications You must be signed in to change notification settings

dword-design/nuxt-babel-runtime

Repository files navigation

nuxt-babel-runtime

npm version Linux macOS Windows compatible Build status Coverage status Dependency status Renovate enabled
Open in Gitpod Buy Me a Coffee PayPal Patreon

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:

Buy Me a Coffee  If you want to send me a one time donation. The coffee is pretty good 😊.
PayPal  Also for one time donations if you like PayPal.
Patreon  Here you can support me regularly, which is great so I can steadily work on projects.

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