diff --git a/README.md b/README.md index 0c30dc7..89fdd97 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,24 @@ const sources = [ ``` +## Nuxt Integration +The library is easy to implement in any Nuxt project. +Remember to wrap it on the `````` component. + +```js + + + +``` + ## Custom Controls You can disable the native video tag controls and use your own custom ones. @@ -82,16 +100,16 @@ import { VuePlayer } from '@display-studio/vue-player' ```js @@ -129,15 +147,15 @@ const player = useVuePlayer() ```js @@ -187,13 +205,13 @@ const player = useVuePlayer() ```js @@ -313,4 +331,4 @@ See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#events -``` +``` \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index 251d5d8..8afeae3 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 189861d..8b50e98 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@display-studio/vue-player", "description": "Lightweight, customizable, and easy-to-implement vue video player.", "author": "display-studio (https://www.display.design/)", - "version": "0.0.4", + "version": "0.0.6", "homepage": "https://github.com/display-design-studio/vue-player", "keywords": [ "vue", @@ -25,17 +25,17 @@ }, "scripts": { "dev": "vite", - "build": "vue-tsc && vite build", + "build": "vue-tsc --noEmit && vite build", "preview": "vite preview", "publish": "bun run build && npm publish" }, "dependencies": { - "vue": "^3.3.11" + "vue": "^3.4.35" }, "devDependencies": { - "@vitejs/plugin-vue": "^4.5.2", - "typescript": "^5.2.2", - "vite": "^5.0.8", - "vue-tsc": "^1.8.25" + "@vitejs/plugin-vue": "^5.1.2", + "typescript": "^5.5.4", + "vite": "^5.3.5", + "vue-tsc": "latest" } -} +} \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 582f891..dd1b9f4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -20,7 +20,6 @@ const sources = [