{"id":22545361,"url":"https://github.com/modbender/nuxt-splide","last_synced_at":"2025-04-09T23:51:05.643Z","repository":{"id":226362331,"uuid":"768480680","full_name":"modbender/nuxt-splide","owner":"modbender","description":"Nuxt Splide Plugin - Splide is lightweight slider/carousel, no dependencies, no lighthouse errors","archived":false,"fork":false,"pushed_at":"2024-04-03T14:37:47.000Z","size":104,"stargazers_count":11,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T23:51:01.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/modbender.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-07T06:53:30.000Z","updated_at":"2025-04-07T14:32:07.000Z","dependencies_parsed_at":"2024-03-13T07:44:31.020Z","dependency_job_id":null,"html_url":"https://github.com/modbender/nuxt-splide","commit_stats":null,"previous_names":["modbender/nuxt-splide"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-splide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-splide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-splide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/modbender%2Fnuxt-splide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/modbender","download_url":"https://codeload.github.com/modbender/nuxt-splide/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131455,"owners_count":21052819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T14:09:44.242Z","updated_at":"2025-04-09T23:51:05.618Z","avatar_url":"https://github.com/modbender.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\nNuxt Splide\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-splide\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/nuxt-splide/latest.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\" alt=\"Nuxt Splide - NPM Package\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-splide\"\u003e\u003cimg src=\"https://img.shields.io/npm/dm/nuxt-splide.svg?style=flat\u0026colorA=020420\u0026colorB=00DC82\" alt=\"Nuxt Splide - NPM Package Downloads\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://npmjs.com/package/nuxt-splide\"\u003e\u003cimg src=\"https://img.shields.io/npm/l/nuxt-splide.svg?style=flat\u0026colorA=020420\u0026\" alt=\"Nuxt Splide License\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://nuxt.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Nuxt-020420?logo=nuxt.js\" alt=\"Nuxt Splide - Nuxt\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\nPerformance first slider/carousel you have always been waiting after Owl Carousel.\u003cbr/\u003e\nThe Splide slider does not degrade Accessibility, Best Practices and SEO 🎉\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/Splidejs/splide/raw/master/images/lighthouse-mobile.png\" alt=\"Nuxt Splide Performance\" /\u003e\n\u003c/p\u003e\n\n-----\n- [🧪 \u0026nbsp;Examples](https://splidejs.github.io/vue-splide/)\n- [📖 \u0026nbsp;Splide Documentation](https://splidejs.com/integration/vue-splide/)\n- [🏀 Online playground](https://stackblitz.com/github/modbender/nuxt-splide?file=playground%2Fapp.vue)\n- [✨ \u0026nbsp;Release Notes](/CHANGELOG.md)\n\u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Features\n\n- 🔆 \u0026nbsp;No Lighthouse/PageSpeed Errors\n- ⚡ \u0026nbsp;Lightweight, No dependencies\n- 🕶️ \u0026nbsp;Unstyled or Styled with themes\n- ⚔️ \u0026nbsp;Compatible with modern browsers\n- ➡️ \u0026nbsp;RTL and vertical direction\n- 🗼 \u0026nbsp;Flexible and Extensible\n\n## Quick Setup\n\n1. Add `nuxt-splide` dependency to your project\n\n    ```bash\n    # Using pnpm\n    pnpm add -D nuxt-splide\n\n    # Using yarn\n    yarn add --dev nuxt-splide\n\n    # Using npm\n    npm install --save-dev nuxt-splide\n    ```\n\n2. Add `nuxt-splide` to the `modules` section of `nuxt.config.ts`\n\n    ```js\n    export default defineNuxtConfig({\n      modules: [\n        'nuxt-splide'\n      ]\n      splide: {\n        theme: 'default'\n      }\n    })\n    ```\n    | Theme     |   Description    |\n    | --------- | :--------------: |\n    | default   | default theme    |\n    | skyblue   | light blue theme |\n    | sea-green | green theme      |\n    | core      | unstyled         |\n\n3. Next add `Splide` and `SplideSlide` components to your page.\n\n    ```xml\n    \u003ctemplate\u003e\n      \u003cSplide\n        :options=\"{ perPage: 3, perMove: 1, type: 'loop' }\"\n        aria-labelledby=\"My Favorite Images\"\n      \u003e\n        \u003cSplideSlide\u003e\n          \u003cimg\n            src=\"https://images.unsplash.com/photo-1460176449511-ff5fc8e64c35?q=80\u0026w=2074\u0026auto=format\u0026fit=crop\u0026ixlib=rb-4.0.3\u0026ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sample 1\"\n          /\u003e\n        \u003c/SplideSlide\u003e\n        \u003cSplideSlide\u003e\n          \u003cimg\n            src=\"https://images.unsplash.com/photo-1561424412-6c2125ecb1cc?q=80\u0026w=2070\u0026auto=format\u0026fit=crop\u0026ixlib=rb-4.0.3\u0026ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sample 2\"\n          /\u003e\n        \u003c/SplideSlide\u003e\n        \u003cSplideSlide\u003e\n          \u003cimg\n            src=\"https://images.unsplash.com/photo-1507160874687-6fe86a78b22e?q=80\u0026w=1959\u0026auto=format\u0026fit=crop\u0026ixlib=rb-4.0.3\u0026ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sample 3\"\n          /\u003e\n        \u003c/SplideSlide\u003e\n        \u003cSplideSlide\u003e\n          \u003cimg\n            src=\"https://plus.unsplash.com/premium_photo-1664478194406-4a1f2915f685?q=80\u0026w=2072\u0026auto=format\u0026fit=crop\u0026ixlib=rb-4.0.3\u0026ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sample 4\"\n          /\u003e\n        \u003c/SplideSlide\u003e\n        \u003cSplideSlide\u003e\n          \u003cimg\n            src=\"https://images.unsplash.com/photo-1584220844836-4071bc6cc793?q=80\u0026w=1928\u0026auto=format\u0026fit=crop\u0026ixlib=rb-4.0.3\u0026ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sample 5\"\n          /\u003e\n        \u003c/SplideSlide\u003e\n        \u003cSplideSlide\u003e\n          \u003cimg\n            src=\"https://images.unsplash.com/photo-1513889961551-628c1e5e2ee9?q=80\u0026w=2070\u0026auto=format\u0026fit=crop\u0026ixlib=rb-4.0.3\u0026ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D\"\n            alt=\"Sample 6\"\n          /\u003e\n        \u003c/SplideSlide\u003e\n      \u003c/Splide\u003e\n    \u003c/template\u003e\n\n    \u003cscript setup\u003e\u003c/script\u003e\n\n    \u003cstyle\u003e\n    img {\n      width: 100%;\n      aspect-ratio: 4/3;\n    }\n    \u003c/style\u003e\n    ```\n    For all `options` check [Official Documentation](https://splidejs.com/guides/options/#options).\n\nThat's it! You can now use Nuxt Splide in your Nuxt app ✨\n\n## Development\n\n```bash\n# Install dependencies\npnpm install\n\n# Generate type stubs\npnpm run dev:prepare\n\n# Develop with the playground\npnpm run dev\n\n# Build the playground\npnpm run dev:build\n\n# Run ESLint\npnpm run lint\n\n# Run Vitest\npnpm run test\npnpm run test:watch\n\n# Release new version\nnpm run release\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodbender%2Fnuxt-splide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmodbender%2Fnuxt-splide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmodbender%2Fnuxt-splide/lists"}