Going off of the Browser installation: https://floating-vue.starpad.dev/guide/installation#browser
Minimum reproducible example:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script src="https://unpkg.com/floating-vue@^2.0.0-beta.1"></script>
<link rel="stylesheet" href="https://unpkg.com/floating-vue@^2.0.0-beta.1/dist/style.css" />
</head>
<body>
<div id="app">
<v-dropdown>
<button>Click me</button>
<template #popper>
<p>This is the popper content</p>
</template>
</v-dropdown>
</div>
<script>
const { createApp } = Vue;
const app = createApp({});
app.use(FloatingVue);
app.mount('#app');
</script>
</body>
</html>
Console reports an error when you click the button:
Uncaught (in promise) TypeError: can't access property "offset", m is undefined
$_computePosition https://unpkg.com/floating-vue@^2.0.0-beta.1:1
Maybe I missed something π€·ββοΈ