From f075948137b1d41d65ea38e95f659fe82a36270f Mon Sep 17 00:00:00 2001 From: codedokode Date: Sat, 19 Oct 2024 19:54:22 +0300 Subject: [PATCH] Updated browser installation guide - updated module versions to latest ones - added required dependencies --- docs/guide/installation.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 92437566..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: