File tree 2 files changed +10
-4
lines changed
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -9,11 +9,14 @@ The menu list that pops down downwards.
9
9
``` javascript
10
10
import { createApp } from ' vue' ;
11
11
// vue
12
- import { Menu , MenuItem } from ' @nutui/nutui' ;
12
+ import { Menu , MenuItem , OverLay , Popup } from ' @nutui/nutui' ;
13
13
// taro
14
- import { Menu , MenuItem } from ' @nutui/nutui-taro' ;
14
+ import { Menu , MenuItem , OverLay , Popup } from ' @nutui/nutui-taro' ;
15
15
const app = createApp ();
16
16
app .use (Menu);
17
+ app .use (MenuItem);
18
+ app .use (OverLay);
19
+ app .use (Popup);
17
20
18
21
```
19
22
Original file line number Diff line number Diff line change 9
9
``` javascript
10
10
import { createApp } from ' vue' ;
11
11
// vue
12
- import { Menu , MenuItem } from ' @nutui/nutui' ;
12
+ import { Menu , MenuItem , OverLay , Popup } from ' @nutui/nutui' ;
13
13
// taro
14
- import { Menu , MenuItem } from ' @nutui/nutui-taro' ;
14
+ import { Menu , MenuItem , OverLay , Popup } from ' @nutui/nutui-taro' ;
15
15
const app = createApp ();
16
16
app .use (Menu);
17
+ app .use (MenuItem);
18
+ app .use (OverLay);
19
+ app .use (Popup);
17
20
18
21
```
19
22
You can’t perform that action at this time.
0 commit comments