vue-croppa icon indicating copy to clipboard operation
vue-croppa copied to clipboard

[Migration] Are there any plan to support Vue3?

Open vanoneang opened this issue 5 years ago • 5 comments

I am looking forward to continuing to use vue-croppa in Vue3 projects.

vanoneang avatar Nov 12 '20 10:11 vanoneang

We are also waiting. Any progress?

birol avatar Dec 03 '20 14:12 birol

I managed to get it working with the Vue Migration Build.

import CroppaPlugin from 'vue-croppa'
const Croppa = CroppaPlugin.component

Croppa.compatConfig = { MODE: 2 }

The remaining app is configured to Vue3 mode:

// webpack.config.js
module.exports = {
  resolve: {
    alias: {
      vue: '@vue/compat'
    }
  },
  module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-loader',
        options: {
          compilerOptions: {
            compatConfig: {
              MODE: 3
            }
          }
        }
      }
    ]
  }
}

Some warnings are showing, but it works!

tiltec avatar Aug 30 '21 11:08 tiltec

I managed to get it working with the Vue Migration Build.

import CroppaPlugin from 'vue-croppa'
const Croppa = CroppaPlugin.component

Croppa.compatConfig = { MODE: 2 }

The remaining app is configured to Vue3 mode:

// webpack.config.js
module.exports = {
  resolve: {
    alias: {
      vue: '@vue/compat'
    }
  },
  module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-loader',
        options: {
          compilerOptions: {
            compatConfig: {
              MODE: 3
            }
          }
        }
      }
    ]
  }
}

Some warning are showing, but it works!

Hello,

Is there any way to make it work on Quasar 2?

Thanks,

Hibrix-net avatar Jan 12 '22 22:01 Hibrix-net

Hello, Can we expect a version for Vue3?

milosbarlov avatar Mar 31 '22 07:03 milosbarlov

Hello, Can we expect a version for Vue3?

I was checking the project status, last release was in August 2018, right now has ~90 open issues oldest open issue from around the same year 2018, we are approaching 2024 so roughly 6 years with no updates, yeah I would say this project is dead

twbagustin avatar Oct 06 '23 16:10 twbagustin