Skip to content
This repository was archived by the owner on Oct 11, 2024. It is now read-only.

Commit 2743988

Browse files
committed
fix bugs; update base path;
1 parent 7fcf061 commit 2743988

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

hello-world/react/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "react-sample",
33
"version": "0.1.0",
44
"private": true,
5+
"homepage": "./",
56
"dependencies": {
67
"dynamsoft-camera-enhancer": "^4.0.0",
78
"@testing-library/jest-dom": "^5.16.4",

hello-world/vue3/src/components/CameraEnhancerComponent.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { onBeforeUnmount, onMounted, ref, getCurrentInstance, Ref } from "vue";
2+
import { onBeforeUnmount, onMounted, ref, getCurrentInstance, type Ref } from "vue";
33
import {
44
CameraView,
55
CameraEnhancer,

hello-world/vue3/vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import vue from '@vitejs/plugin-vue'
55

66
// https://vitejs.dev/config/
77
export default defineConfig({
8+
base: "",
89
plugins: [
910
vue(),
1011
],

0 commit comments

Comments
 (0)