diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 10fe0a0d..5cb03658 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -62,16 +62,23 @@ import 'floating-vue/dist/style.css' ## Browser -Include `dist/floating-vue.min.js` in the page: +First, include scripts for dependencies: `@floating-ui/core` and `@floating-ui/dom`: ```html - + + +``` + +Include `dist/floating-vue.umd.js` in the page: + +```html + ``` Also include the default CSS: ```html - + ``` Install the plugin into your app: