unplugin-uni-app-vue3-data-log
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

unplugin-vue2-class-to-vue3

NPM version

Starter template for unplugin.

Template Usage

To use this template, clone it down using:

npx degit antfu/unplugin-vue2-class-to-vue3 my-unplugin

And do a global replace of unplugin-vue2-class-to-vue3 with your plugin name.

Then you can start developing your unplugin 🔥

To test your plugin, run: pnpm run dev To release a new version, run: pnpm run release

Install

npm i unplugin-vue2-class-to-vue3
Vite
// vite.config.ts
import Starter from 'unplugin-vue2-class-to-vue3/vite'

export default defineConfig({
  plugins: [
    Starter({ /* options */ }),
  ],
})

Example: playground/


Rollup
// rollup.config.js
import Starter from 'unplugin-vue2-class-to-vue3/rollup'

export default {
  plugins: [
    Starter({ /* options */ }),
  ],
}


Webpack
// webpack.config.js
module.exports = {
  /* ... */
  plugins: [
    require('unplugin-vue2-class-to-vue3/webpack')({ /* options */ })
  ]
}


Nuxt
// nuxt.config.js
export default {
  buildModules: [
    ['unplugin-vue2-class-to-vue3/nuxt', { /* options */ }],
  ],
}

This module works for both Nuxt 2 and Nuxt Vite


Vue CLI
// vue.config.js
module.exports = {
  configureWebpack: {
    plugins: [
      require('unplugin-vue2-class-to-vue3/webpack')({ /* options */ }),
    ],
  },
}


esbuild
// esbuild.config.js
import { build } from 'esbuild'
import Starter from 'unplugin-vue2-class-to-vue3/esbuild'

build({
  plugins: [Starter()],
})


Package Sidebar

Install

npm i unplugin-uni-app-vue3-data-log

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

6.17 MB

Total Files

33

Last publish

Collaborators

  • haiyulu