Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Include `dist/floating-vue.min.js` in the page:
Also include the default CSS:

```html
<link rel="stylsheet" href="https://unpkg.com/floating-vue@^2.0.0-beta.1/dist/style.css" />
<link rel="stylesheet" href="https://unpkg.com/floating-vue@^2.0.0-beta.1/dist/style.css" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While fixing the typo, I noticed that the CDN link points to a very old beta version (^2.0.0-beta.1). According to the compatibility table in this document, version 5.x is the latest for Vue 3. To avoid confusion and ensure users get the latest features and fixes, it would be better to update this link to point to the latest major version. A similar update should be applied to the script tag on line 68 for consistency.

Suggested change
<link rel="stylesheet" href="https://unpkg.com/floating-vue@^2.0.0-beta.1/dist/style.css" />
<link rel="stylesheet" href="https://unpkg.com/floating-vue@^5/dist/style.css" />

```

Install the plugin into your app:
Expand Down