From 729624a83715a1e56659561646cbca817606d83a Mon Sep 17 00:00:00 2001 From: codedokode Date: Sat, 19 Oct 2024 18:56:02 +0300 Subject: [PATCH 1/2] Fix typo in guide --- docs/guide/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 10fe0a0d..92437566 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -71,7 +71,7 @@ Include `dist/floating-vue.min.js` in the page: Also include the default CSS: ```html - + ``` Install the plugin into your app: From f075948137b1d41d65ea38e95f659fe82a36270f Mon Sep 17 00:00:00 2001 From: codedokode Date: Sat, 19 Oct 2024 19:54:22 +0300 Subject: [PATCH 2/2] 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: