Vue 2 Template Compiler

JSON →
library 2.7.17-internal.0 ·javascript
verified Jun 4, 2026

Pre-compiles Vue 2 templates into render functions to reduce runtime compilation overhead and support CSP. Current stable version is 2.7.x. This package is auto-generated from the vue main repo and released in lockstep with Vue 2.x. It is used internally by vue-loader but can be used standalone for custom build tools. Key differentiators: supports custom directives and modules for extensibility, provides whitespace condensing for smaller output.