@vue-player/nuxt
Official Nuxt 3 module for vue-player — auto-imports VideoPlayer and usePlayer
1,659
32
| Install | |
|---|---|
npm install @vue-player/nuxt |
|
| Latest Version: | 0.1.6 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Aug 9, 2026 |
| Links: | GitHub · npm |
Maintainer: v_chernyak
@vue-player/nuxt
Official Nuxt 3 module for vue-player — auto-imports VideoPlayer and usePlayer across your entire app with zero config.
Installation
npm install @vue-player/nuxt
Setup
// nuxt.config.ts
export default defineNuxtConfig({
modules: ['@vue-player/nuxt'],
})
That's it. The module automatically:
- Injects styles globally
- Registers
VideoPlayeras an auto-imported component - Registers
usePlayeras an auto-imported composable
Usage
No imports needed anywhere in your app:
<!-- pages/index.vue -->
<template>
<VideoPlayer src="https://example.com/video.mp4" />
</template>
Options
export default defineNuxtConfig({
modules: ['@vue-player/nuxt'],
vuePlayer: {
prefix: 'Vp', // component becomes <VpVideoPlayer>, composable becomes useVpPlayer()
},
})
License
Related Packages
nuxt-componentsbook-module
This module provides a Storybook-like experience for Nuxt components
1,901
4
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.1.6 | ^3.0 | MIT | |
| 0.1.5 | ^3.0 | MIT | |
| 0.1.4 | ^3.0 | MIT | |
| 0.1.3 | ^3.0 | MIT | |
| 0.1.2 | ^3.0 | MIT | |
| 0.1.1 | ^3.0 | MIT | |
| 0.1.0 | ^3.0 | MIT | |
| 0.0.1 | MIT |