How to use the vue-template-compiler.ssrCompileToFunctions function in vue-template-compiler

To help you get started, we’ve selected a few vue-template-compiler examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github michaelolof / vue-literal-compiler / src / index.ts View on Github external
//@ts-ignore
import * as compiler from "vue-template-compiler";
import { parseComponent as _parseComponent } from "./new-parse-component"

export const parseComponent = _parseComponent;
// export const parseComponent = _parseComponent
export const compile = compiler.compile;
export const compileToFunctions = compiler.compileToFunctions;
export const ssrCompile = compiler.ssrCompile;
export const ssrCompileToFunctions = compiler.ssrCompileToFunctions;