Skip to content

Commit 715446b

Browse files
fix: add missing html from nuxt README guide (#193)
Co-authored-by: felixindrawan <[email protected]>
1 parent 6c55bba commit 715446b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

hello-world/nuxt/README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ npm install
2525
npm 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
190190
onBeforeUnmount(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
>

0 commit comments

Comments
 (0)