{"id":16763356,"url":"https://github.com/mkubdev/vite-swipper-debug","last_synced_at":"2025-03-16T10:24:12.296Z","repository":{"id":186732170,"uuid":"675649816","full_name":"mkubdev/vite-swipper-debug","owner":"mkubdev","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-07T12:24:48.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T22:29:40.915Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mkubdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-07T12:07:47.000Z","updated_at":"2023-08-07T12:24:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3625059-2717-442c-966b-0cba6fe71135","html_url":"https://github.com/mkubdev/vite-swipper-debug","commit_stats":null,"previous_names":["mkubdev/vite-swipper-debug"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkubdev%2Fvite-swipper-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkubdev%2Fvite-swipper-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkubdev%2Fvite-swipper-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mkubdev%2Fvite-swipper-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mkubdev","download_url":"https://codeload.github.com/mkubdev/vite-swipper-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243854202,"owners_count":20358560,"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-13T05:06:21.584Z","updated_at":"2025-03-16T10:24:12.276Z","avatar_url":"https://github.com/mkubdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steps\n\n1. Create the project with [Vite](https://vitejs.dev/guide/)\n\n```bash\nnpm create vite@latest vite-swip-react -- --template react\n```\n\n2. Add [swipper](https://swiperjs.com/react)\n\n```bash\nnpm install swiper\n```\n\n3. Import demo from docs:\n```js\nimport { Swiper, SwiperSlide } from 'swiper/react';\nimport 'swiper/swiper.css';\n\nfunction App () {\n\n  return (\n    \u003c\u003e\n      \u003cSwiper\n        spaceBetween={50}\n        slidesPerView={1}\n        onSlideChange={() =\u003e console.log('slide change')}\n        onSwiper={(swiper) =\u003e console.log(swiper)}\n        style={{ backgroundColor: 'red', height: '100vh' }}\n      \u003e\n        \u003cSwiperSlide\u003eSlide 1\u003c/SwiperSlide\u003e\n        \u003cSwiperSlide\u003eSlide 2\u003c/SwiperSlide\u003e\n        \u003cSwiperSlide\u003eSlide 3\u003c/SwiperSlide\u003e\n        \u003cSwiperSlide\u003eSlide 4\u003c/SwiperSlide\u003e\n      \u003c/Swiper \u003e\n    \u003c/\u003e\n  )\n}\n\nexport default App\n```\n\n## React + Vite\n\nThis template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.\n\nCurrently, two official plugins are available:\n\n- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh\n- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkubdev%2Fvite-swipper-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmkubdev%2Fvite-swipper-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmkubdev%2Fvite-swipper-debug/lists"}