Skip to content

Commit b766fe4

Browse files
committed
chore(BottomSheet): fix readme
1 parent cefe101 commit b766fe4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/bottomsheet/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,12 @@ this.$showBottomSheet(MyComponent, options)
143143

144144
### NativeScript + Vue 3
145145
```typescript
146-
import Vue from 'nativescript-vue';
146+
import { createApp } from 'nativescript-vue';
147147
import { BottomSheetPlugin } from '@nativescript-community/ui-material-bottomsheet/vue-3';
148148
import { install } from "@nativescript-community/ui-material-bottomsheet";
149149
install();
150150

151+
const app = createApp(...);
151152
app.use(BottomSheetPlugin);
152153
```
153154
Then you can show a Vue component:

0 commit comments

Comments
 (0)