You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/angular.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,43 @@ Open `http://localhost:4200/` to view the sample app.
76
76
> [!NOTE]
77
77
> Secure context requires HTTPS to provide camera access, but Angular CLI serves over HTTP by default. For mobile testing, you may need to configure HTTPS or use a reverse proxy.
78
78
79
+
## Self-Host Resources
80
+
81
+
You can self host the resources for the Hello World by following a few simple steps. Refer to the [plain JavaScript self-hosting guide]({{ site.guide }}index.html#quick-start) for details.
82
+
83
+
### Set File Paths
84
+
85
+
First we set MDS to look resource paths where we will place the resources later:
86
+
87
+
```typescript
88
+
const documentScanner = new Dynamsoft.DocumentScanner({
Now, add a script (`get-libs`) to automatically move the resources to their destination when building the project (`build`) in `samples/framework/angular/package.json`:
Copy file name to clipboardExpand all lines: guide/react.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,39 @@ npm start
66
66
67
67
Then open https://localhost:3000/ to view the sample app.
68
68
69
+
## Self-Host Resources
70
+
71
+
You can self host the resources for the Hello World by following a few simple steps. Refer to the [plain JavaScript self-hosting guide]({{ site.guide }}index.html#quick-start) for details.
72
+
73
+
### Set File Paths
74
+
75
+
First we set MDS to look resource paths where we will place the resources later:
Now, add a script (`get-libs`) to automatically move the resources to their destination when building the project (`build`) in `samples/framework/react-hooks/package.json`:
Copy file name to clipboardExpand all lines: guide/vue.md
+33Lines changed: 33 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,39 @@ npm run serve
66
66
67
67
Then open http://localhost:8080/ to view the sample app.
68
68
69
+
## Self-Host Resources
70
+
71
+
You can self host the resources for the Hello World by following a few simple steps. Refer to the [plain JavaScript self-hosting guide]({{ site.guide }}index.html#quick-start) for details.
72
+
73
+
### Set File Paths
74
+
75
+
First we set MDS to look resource paths where we will place the resources later:
Now, add a script (`get-libs`) to automatically move the resources to their destination when building the project (`build`) in `samples/framework/vue/package.json`:
0 commit comments