1. nuxt-babel-runtime
Nuxt CLI that supports babel. Inspired by @nuxt/typescript-runtime.
nuxt-babel-runtime
Package: nuxt-babel-runtime
Created by: dword-design
Last modified: Tue, 27 Feb 2024 19:46:11 GMT
Version: 5.0.4
License: MIT
Downloads: 85
Repository: https://github.com/dword-design/nuxt-babel-runtime

Install

npm install nuxt-babel-runtime
yarn add nuxt-babel-runtime

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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin