Socket
Book a DemoInstallSign in
Socket

babel-plugin-vue3-jsx-transform

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-vue3-jsx-transform

This plugin transforms Vue3.0 JSX expression

latest
npmnpm
Version
0.0.8
Version published
Weekly downloads
2
-60%
Maintainers
1
Weekly downloads
 
Created
Source

Introduction

This is a babel plugin that helps transform jsx element to vnode for vue 3.0

Details

slot support

<template slot="name">
    ...
</template>

v-show support

<div v-show="name">
    ...
</div>

or

<div vShow="name">
    ...
</div>

v-if support

<div v-if="name">
    ...
</div>

or

<div vIf="name">
    ...
</div>

spread attribute support

<div {...{class:'a', style: 'color: white'}}></div>

Change Log

v0.0.6

  • add v-if support

v0.0.5

  • bug fix

v0.0.4

  • add v-show support

v0.0.3

  • add slot support

v0.0.2

  • support spread attribute on element

Keywords

babel-plugin

FAQs

Package last updated on 08 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts