A library that allows you to render jsx in vue template or render template string in jsx, free rendering is up to you. Support vue2 and vue3.
English | 简体中文
A library that lets you render jsx
or tsx
components in a template
, making your ui
rendering more flexible.
vue2
and vue3
are supported.
for npm
npm i vue-xrender
for yarn
yarn add vue-xrender
for pnpm
pnpm add vue-xrender
<!-- Unpkg -->
<script src="https://unpkg.com/vue-xrender@latest" />
<!-- JsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/vue-xrender@latest" />
The usage is documented in the documentation.
Learn about contribution here.
This project exists thanks to all the people who contribute:
MIT License © 2022-PRESENT yangjinming