{"id":26086867,"url":"https://github.com/pspdfkit/pspdfkit-web-example-vite","last_synced_at":"2026-04-21T02:04:16.445Z","repository":{"id":221353613,"uuid":"754114602","full_name":"PSPDFKit/pspdfkit-web-example-vite","owner":"PSPDFKit","description":"PSPDFKit for Web Vite.js Example","archived":false,"fork":false,"pushed_at":"2025-02-07T10:26:28.000Z","size":2094,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-07T11:28:38.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pspdfkit.com/getting-started/web/","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PSPDFKit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-02-07T12:34:38.000Z","updated_at":"2025-02-07T10:26:33.000Z","dependencies_parsed_at":"2024-12-13T14:27:18.507Z","dependency_job_id":"20d515d6-98da-416c-ac99-c27f95c389b4","html_url":"https://github.com/PSPDFKit/pspdfkit-web-example-vite","commit_stats":null,"previous_names":["pspdfkit/pspdfkit-web-example-vite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-vite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-vite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-vite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PSPDFKit%2Fpspdfkit-web-example-vite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PSPDFKit","download_url":"https://codeload.github.com/PSPDFKit/pspdfkit-web-example-vite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242656381,"owners_count":20164488,"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":"2025-03-09T07:18:38.066Z","updated_at":"2026-04-21T02:04:16.440Z","avatar_url":"https://github.com/PSPDFKit.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e ⚠️ **Repository Moved**  \n\u003e This repository has been moved to https://github.com/PSPDFKit/nutrient-web-examples/tree/main/examples/vite.  \n\u003e Please update your bookmarks and issues accordingly.\n\u003e\n\u003e This repo is now archived and will no longer receive updates.\n\n# Nutrient Web SDK Example – Vite.js\n\nThis example shows how to integrate [PSPDFKit for Web](https://www.nutrient.io/sdk/web/) into a [Vite.js](https://vitejs.dev/) with React app.\n\n## Prerequisites\n\n- [Node.js](http://nodejs.org/)\n\n## Support, Issues and License Questions\n\nPSPDFKit offers support for customers with an active SDK license via https://www.nutrient.io/support/request/\n\nAre you [evaluating our SDK](https://www.nutrient.io/try/)? That's great, we're happy to help out! To make sure this is fast, please use a work email and have someone from your company fill out our sales form: https://www.nutrient.io/sales/\n\n## Getting Started\n\nClone the repo:\n\n```bash\ngit clone https://github.com/PSPDFKit/pspdfkit-web-example-vite.git\ncd pspdfkit-web-example-vite\n```\n\nInstall the project dependencies:\n\n```shell script\nnpm install\n```\n\n## Running the Example\n\nWe are ready to launch the app! 🎉\n\n```shell script\nnpm run dev\n```\n\nYou can now open http://localhost:5173 in your browser and enjoy!\n\nTo create a production build of the app and serve it:\n\n```shell script\nnpm run build\nnpm run preview\n```\n\nYou can now preview your build http://localhost:4173 in your browser.\n\nEnjoy 🍕\n\n## React Component\n\nThe React component which implements the PSPDFKit for Web integration can be found at `src/components/PdfViewerComponent.jsx`.\n\nIn order to make the PSPDFKit SDK assets available they have to be copied from the `node_modules/nutrient/dist` folder to `public/nutrient-viewer-lib` folder. For that purpose this example uses a copy plugin which you can find at `vite.config.js`.\n\n## License\n\nThis software is licensed under a [modified BSD license](LICENSE).\n\n## Contributing\n\nPlease ensure\n[you have signed our CLA](https://www.nutrient.io/guides/web/current/miscellaneous/contributing/) so that we can accept your contributions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpspdfkit%2Fpspdfkit-web-example-vite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpspdfkit%2Fpspdfkit-web-example-vite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpspdfkit%2Fpspdfkit-web-example-vite/lists"}