{"library":"vue-compiler","type":"library","category":null,"description":"A standalone Vue single-file component (SFC) compiler for projects that cannot use webpack. Current stable version is 4.2.1, released on an irregular cadence by a community maintainer. Unlike official vue-loader, this package compiles .vue files directly to CommonJS modules without requiring webpack, supporting both async (compile) and sync (compileSync) APIs. It includes template compilation (via vue-template-compiler), style processing, and custom compiler hooks. However, the package is not actively maintained by the Vue core team and relies on an outdated peer dependency of vue-template-compiler ^2.6.10, meaning it only supports Vue 2.x. For Vue 3, use @vue/compiler-sfc instead.","language":"javascript","status":"active","version":"4.2.1","tags":["javascript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install vue-compiler","imports":["import compile from 'vue-compiler'","import { compileSync } from 'vue-compiler'","import { parse } from 'vue-compiler'","import { assemble } from 'vue-compiler'"]},{"cmd":"yarn add vue-compiler","imports":[]},{"cmd":"pnpm add vue-compiler","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-compiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}