File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ npm install
2525npm run dev
2626```
2727
28- Then open ` https://localhost:3000/ ` to viewthe sample app.
28+ Then open ` https://localhost:3000/ ` to view the sample app.
2929
3030## Creating the sample project
3131
@@ -188,14 +188,23 @@ onMounted(async () => {
188188
189189// dispose cvRouter when it's no longer needed
190190onBeforeUnmount(async () => {
191- bDestoryed = true;
191+ isDestroyed = true;
192192 try {
193193 await pInit;
194194 cvRouter?.dispose();
195195 cameraEnhancer?.dispose();
196196 } catch (_) { }
197197});
198198</script>
199+
200+ <template>
201+ <div>
202+ <div ref="cameraViewContainer" class="camera-view-container"></div>
203+ <br />
204+ Results:
205+ <div ref="resultsContainer" class="results"></div>
206+ </div>
207+ </template>
199208```
200209> Note:
201210>
You can’t perform that action at this time.
0 commit comments