{"library":"vue-template-babel-compiler","type":"library","category":null,"description":"The `vue-template-babel-compiler` package enhances the capabilities of `vue-template-compiler` (for Vue 2 projects) by integrating Babel to allow the use of modern ECMAScript syntax within Vue Single File Component (SFC) templates. This includes features like Optional Chaining (`?.`), Nullish Coalescing (`??`), and BigInt, which are not natively supported by the standard `vue-template-compiler` in older Node.js environments. The current stable version is `2.0.0`, which notably requires Node.js v14 or higher due to how `vue-template-compiler` internally evaluates JavaScript expressions. While not frequently updated, the project is marked as maintained and provides sporadic, but critical, updates. Its key differentiator is providing a seamless way to leverage cutting-edge JavaScript features directly in Vue 2 template expressions, offering customization for Babel options, and plugging into existing Vue CLI and Nuxt.js build configurations.","language":"javascript","status":"maintenance","version":"2.0.0","tags":["javascript","vuejs","babel","sfc","vue-template","vue-template-babel"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-template-babel-compiler","imports":["// In vue.config.js or nuxt.config.js:\noptions.compiler = require('vue-template-babel-compiler')"]},{"cmd":"yarn add vue-template-babel-compiler","imports":[]},{"cmd":"pnpm add vue-template-babel-compiler","imports":[]}],"homepage":null,"github":"https://github.com/JuniorTour/vue-template-babel-compiler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-template-babel-compiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-template-babel-compiler/compatibility"}}