yunji-tagger-taro
v0.0.1
Published
The plugin for tagging components in Taro
Maintainers
Readme
A simple Vite + React/Vue Plugin
Installation
npm install --save-dev yunji-tagger-taroyarn add -dev yunji-tagger-taroUsage
Taro + React
const { createBabelPluginTaro } = require('yunji-tagger');
module.exports = {
presets: [
['taro', {
framework: 'react',
ts: true,
compiler: 'webpack5',
useBuiltIns: process.env.TARO_ENV === 'h5' ? 'usage' : false
}]
],
"plugins": [createBabelPluginTaro({})], // success
}Configure
Read the Contributing guide
