Skip to content

RIO-LI/vue-template-compiler-on-browser

Repository files navigation

vue-template-compiler-on-browser

Outline

make vue-template-compiler library run on browser

API

commonjs

const vtc = require("vue-template-compiler-on-browser");
vtc.parseComponent(`your vue sfc file content string`);

ESM

import { parseComponent } from "vue-template-compiler-on-browser";
vtc.parseComponent(`your vue sfc file content string`);

browser

window.vtc.parseComponent(`your vue sfc file content string`);

About

make `vue-template-compiler` library run on browser

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published