Power-packed wrapper over cropperjs@next.
This package is just a module wrapper over vue-modern-cropper, for more information check it's repo.
Install the package
pnpm add -D vue-modern-cropper nuxt-modern-cropper
Add nuxt-modern-cropper
to your Nuxt config file:
// nuxt.config.ts
export default defineNuxtConfig({
modules: [
'nuxt-modern-cropper',
],
})
That's it! You can now use <ModernCropper />
in your Nuxt app ✨
Local development
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release