{"id":16254127,"url":"https://github.com/samline/splide-nextjs","last_synced_at":"2025-03-19T21:30:26.482Z","repository":{"id":57367584,"uuid":"357292491","full_name":"samline/splide-nextjs","owner":"samline","description":"This temporary project fixes the \"window is not defined\" error when using SSR. When the original package is patched this package and repository will be deprecated.","archived":false,"fork":false,"pushed_at":"2021-04-12T18:50:56.000Z","size":160,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T16:09:35.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samline.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-12T18:06:39.000Z","updated_at":"2023-12-19T19:50:20.000Z","dependencies_parsed_at":"2022-08-23T19:30:23.848Z","dependency_job_id":null,"html_url":"https://github.com/samline/splide-nextjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samline%2Fsplide-nextjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samline%2Fsplide-nextjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samline%2Fsplide-nextjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samline%2Fsplide-nextjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samline","download_url":"https://codeload.github.com/samline/splide-nextjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244021714,"owners_count":20385122,"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-10-10T15:20:09.590Z","updated_at":"2025-03-19T21:30:25.986Z","avatar_url":"https://github.com/samline.png","language":"JavaScript","readme":"# Splide | SSR\n\n**[Splide](https://splidejs.com/) is a lightweight, powerful and flexible slider and carousel, written in pure JavaScript without any dependencies.**\n\n* [Demo](https://splidejs.com/)\n* [Documents](https://splidejs.com/integration-react-splide/)\n\n## Why? (https://github.com/Splidejs/splide/pull/296)\nThis temporary project fixes the \"window is not defined\" error when using SSR. When the original package is patched this package and repository will be deprecated.\n\n\n### Install\n\n```bash\nnpm i splide-nextjs --save\n```\n```bash\nyarn add splide-nextjs\n```\n\n### Import\n\n```bash\nimport { Splide, SplideSlide } from 'splide-nextjs/react-splide';\n```\n```bash\nimport 'splide-nextjs/splide/dist/css/themes/splide-default.min.css';\n// or\nimport 'splide-nextjs/splide/dist/css/themes/splide-sea-green.min.css';\n// or\nimport 'splide-nextjs/splide/dist/css/themes/splide-skyblue.min.css';\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamline%2Fsplide-nextjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamline%2Fsplide-nextjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamline%2Fsplide-nextjs/lists"}