@edgedev/edgecomponents
Reusable flipbook and magazine Vue components
1,758
| Install | |
|---|---|
npm install @edgedev/edgecomponents |
|
| Latest Version: | 0.1.27 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Dec 1, 2025 |
| Links: | npm |
Maintainer: retrogrademt
@edgedev/edgecomponents
Reusable Vue 3 components for interactive magazines and flipbooks, powered by Swiper.js.
π¦ Installation
pnpm add @edgedev/edgecomponents
or
npm install @edgedev/edgecomponents
π§© Usage (Nuxt 3)
- Register the components in a Nuxt plugin:
// plugins/edgecomponents.client.ts
import { Flipbook, Magazine } from '@edgedev/edgecomponents'
import { defineNuxtPlugin } from '#app'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.vueApp.component('edge-flipbook', Flipbook)
nuxtApp.vueApp.component('edge-magazine', Magazine)
})
- Update your
tailwind.config.tsto include the package:
// tailwind.config.ts
export default {
content: [
'./components/**/*.{vue,js,ts}',
'./layouts/**/*.{vue,js,ts}',
'./pages/**/*.{vue,js,ts}',
'./app.vue',
'./node_modules/@edgedev/edgecomponents/**/*.{js,vue}' // β
Include package files
],
theme: {
extend: {},
},
plugins: [],
}
- Make sure Tailwind CSS is already set up in your project.
This library does not bundle Tailwind styles. It expects your project to already include and process Tailwind.
π§ͺ Components
<edge-flipbook />
Props:
magazine: Object β RequiredflipDuration,zoomDuration,zoomLevels,nPolygons,clickToZoom, etc.
<edge-magazine />
Simplified static magazine layout with basic paging.
π Build Notes
Tailwind CSS utilities used in this package must be included via your projectβs Tailwind build.
This ensures your production CSS includes the necessary classes like right-0, top-1/2, z-10, etc.
If these styles aren't applying, confirm the package path is listed in your Tailwind content array.
πͺͺ License
MIT β Β© Edge Marketing & Design
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.27 | ^3.4.0 | MIT | |
| 0.1.26 | ^3.4.0 | MIT | |
| 0.1.25 | ^3.4.0 | MIT | |
| 0.1.24 | ^3.4.0 | MIT | |
| 0.1.23 | ^3.4.0 | MIT | |
| 0.1.21 | ^3.4.0 | MIT | |
| 0.1.20 | ^3.4.0 | MIT | |
| 0.1.19 | ^3.4.0 | MIT | |
| 0.1.18 | ^3.4.0 | MIT | |
| 0.1.17 | ^3.4.0 | MIT | |
| 0.1.16 | ^3.4.0 | MIT | |
| 0.1.15 | ^3.4.0 | MIT | |
| 0.1.14 | ^3.4.0 | MIT | |
| 0.1.13 | ^3.4.0 | MIT | |
| 0.1.12 | ^3.4.0 | MIT | |
| 0.1.11 | ^3.4.0 | MIT | |
| 0.1.10 | ^3.4.0 | MIT | |
| 0.1.9 | ^3.4.0 | MIT | |
| 0.1.8 | ^3.4.0 | MIT | |
| 0.1.7 | ^3.4.0 | MIT | |
| 0.1.6 | ^3.4.0 | MIT | |
| 0.1.5 | ^3.4.0 | MIT | |
| 0.1.4 | ^3.4.0 | MIT | |
| 0.1.3 | ^3.4.0 | MIT | |
| 0.1.2 | ^3.4.0 | MIT | |
| 0.1.1 | MIT | ||
| 0.1.0 |