- Clone the repo:
git clone https://github.com/eli7pm/pspdfkit-vue-server
cd pspdfkit-vue-server- Install the project dependencies with
npm:
npm installThe Vue component which implements the PSPDFKit for Web integration is included at src/App/Components/App.vue with the rest of the example.
In order to make the PSPDFKit for Web's library available for building, we have to copy the pspdfkit-lib/ directory from node_modules/pspdfkit/dist/ into the public/js/ directory. This is done in the package.json script verify-installation which is executed by serve.
We are ready to launch the app! 🎉
npm run devYou can now open http://localhost:3000 in your browser and enjoy!