diff --git a/examples/nextjs/.gitignore b/examples/nextjs/.gitignore index adbf2f0..f6f5953 100644 --- a/examples/nextjs/.gitignore +++ b/examples/nextjs/.gitignore @@ -3,3 +3,4 @@ node_modules public/pspdfkit-lib .next .tool-versions +public/nutrient-viewer \ No newline at end of file diff --git a/examples/nextjs/Readme.md b/examples/nextjs/Readme.md index e5bc9b7..58de088 100644 --- a/examples/nextjs/Readme.md +++ b/examples/nextjs/Readme.md @@ -8,7 +8,7 @@ This example shows how to integrate [Nutrient Web SDK](https://www.nutrient.io/w ## Support, Issues and License Questions -PSPDFKit offers support for customers with an active SDK license via https://www.nutrient.io/support/request/ +Nutrient offers support for customers with an active SDK license via https://www.nutrient.io/support/request/ Are 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/ @@ -17,20 +17,12 @@ Are you [evaluating our SDK](https://www.nutrient.io/try/)? That's great, we're Clone the repo: ```bash -git clone https://github.com/PSPDFKit/pspdfkit-web-example-nextjs.git -cd pspdfkit-web-example-nextjs +git clone https://github.com/PSPDFKit/nutrient-web-examples +cd nutrient-web-examples/examples/nextjs ``` Install the project dependencies: -yarn: - -```bash -yarn -``` - -npm: - ```shell script npm install ``` @@ -39,14 +31,6 @@ npm install We are ready to launch the app! 🎉 -yarn: - -```bash -yarn dev -``` - -npm: - ```shell script npm run dev ``` diff --git a/examples/nextjs/app/layout.js b/examples/nextjs/app/layout.js index 7595b1b..070e24f 100644 --- a/examples/nextjs/app/layout.js +++ b/examples/nextjs/app/layout.js @@ -9,10 +9,10 @@ const RootLayout = ({ children }) => { return ( - {/* Load PSPDFKit script using Next.js Script component */} + {/* Load Nutrient script using Next.js Script component */} diff --git a/examples/vue-composition-api/vite.config.ts b/examples/vue-composition-api/vite.config.ts index 6833beb..06166af 100644 --- a/examples/vue-composition-api/vite.config.ts +++ b/examples/vue-composition-api/vite.config.ts @@ -11,7 +11,7 @@ export default defineConfig({ copy({ targets: [ { - src: "node_modules/pspdfkit/dist/pspdfkit-lib", + src: "node_modules/@nutrient-sdk/viewer/dist/nutrient-viewer-lib", dest: "public/", }, ],