{"library":"vue-template-compiler","type":"library","category":null,"description":"The `vue-template-compiler` package is an internal component of the Vue 2 ecosystem, designed to pre-compile Vue 2.x template strings into JavaScript render functions. This process reduces runtime overhead, improves performance, and allows Vue applications to operate in environments with Content Security Policy (CSP) restrictions by avoiding `eval` usage. The current and final stable version is `2.7.16` (\"Swan Song\"), released as part of Vue 2.7, which aimed to backport some Vue 3 Composition API features to Vue 2. This package, like Vue 2 itself, reached its official End of Life (EOL) on December 31st, 2023, meaning it will no longer receive updates, bug fixes, or security patches. While direct usage is possible for custom build tools, it was primarily designed to be consumed by build integrations like `vue-loader` for Webpack or similar tools, providing the core compilation logic for `.vue` single file components.","language":"javascript","status":"abandoned","version":"2.7.16","tags":["javascript","vue","compiler","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-template-compiler","imports":["const compiler = require('vue-template-compiler')","const { compile } = require('vue-template-compiler')","import * as compiler from 'vue-template-compiler'"]},{"cmd":"yarn add vue-template-compiler","imports":[]},{"cmd":"pnpm add vue-template-compiler","imports":[]}],"homepage":"https://vuejs.org","github":"https://github.com/vuejs/vue","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-template-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-compiler/compatibility"}}