File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,23 @@ import 'floating-vue/dist/style.css'
62
62
63
63
## Browser
64
64
65
- Include ` dist/ floating-vue.min.js ` in the page :
65
+ First, include scripts for dependencies: ` @ floating-ui/core ` and ` @floating-ui/dom ` :
66
66
67
67
``` html
68
- <script src =" https://unpkg.com/floating-vue@^2.0.0-beta.1" ></script >
68
+ <script src =" https://unpkg.com/@floating-ui/core@1/dist/floating-ui.core.umd.js" ></script >
69
+ <script src =" https://unpkg.com/@floating-ui/dom@1/dist/floating-ui.dom.umd.js" ></script >
70
+ ```
71
+
72
+ Include ` dist/floating-vue.umd.js ` in the page:
73
+
74
+ ``` html
75
+ <script src =" https://unpkg.com/floating-vue@5/dist/floating-vue.umd.js" ></script >
69
76
```
70
77
71
78
Also include the default CSS:
72
79
73
80
``` html
74
- <link rel =" stylesheet" href =" https://unpkg.com/floating-vue@^2.0.0-beta.1 /dist/style.css" />
81
+ <link rel =" stylesheet" href =" https://unpkg.com/floating-vue@5 /dist/style.css" />
75
82
```
76
83
77
84
Install the plugin into your app:
You can’t perform that action at this time.
0 commit comments