Skip to content

Commit c035507

Browse files
committed
add common-ui composable imports... working
1 parent 328d0f8 commit c035507

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/courseware/src/typing/questions/falling-letters/TestComponent.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,14 @@
2424
import { ref } from 'vue';
2525
import { Letter, TreePosition } from './types';
2626
import { ViewData } from '@vue-skuilder/common';
27+
import { useViewable, useQuestionView } from '@vue-skuilder/common-ui';
2728
2829
const count = ref(0);
2930
const testLetter = { id: 1, char: 'A', x: 10, y: 20 } as Letter;
3031
const testPos = { id: 1, left: 0, height: 100, scale: 1 } as TreePosition;
3132
const testViewData = { testField: 'hello' } as ViewData;
33+
34+
// Test common-ui composables
35+
const viewable = useViewable();
36+
const questionView = useQuestionView();
3237
</script>

0 commit comments

Comments
 (0)