@pitlet/transform vue

## Install

Version: 1.0.4 Updated: 04/24/2020

By: simon-siefke License: MIT

Downloads Last 30 Days: 108

Install

npm i @pitlet/transform-vue
yarn add @pitlet/transform-vue

CDNs

bundle.run: https://bundle.run/@pitlet/transform-vue

jsDelivr: https://cdn.jsdelivr.net/npm/@pitlet/transform-vue

unpkg: https://unpkg.com/@pitlet/transform-vue

pitlet-transform-vue

Install

npm i -D @pitlet/transform-vue

Usage

// pitlet.config.js
const {
  transformVue,
  transformVueTemplate,
  transformVuePostTransformBlock,
} = require('@pitlet/transform-vue')
const { transformJsModule } = require('@pitlet/transform-js-module')

const transformFunctionMap = {
  vue: [transformVue, transformJsModule],
  'vue-html': [transformVueTemplate, transformJsModule],
  'vue-css': [transformVueStyle, transformVuePostTransformBlock],
  'vue-js': [transformJsModule, transformVuePostTransformBlock],
}
Categories: Vue js
Tags: