We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64fb0ec commit e43bdf9Copy full SHA for e43bdf9
packages/docs/src/guide/installation.md
@@ -150,7 +150,7 @@ import 'floating-vue/dist/style.css'
150
<code-group>
151
<code-block title="npm">
152
```shell
153
-npm i -S floating-vue
+npm i floating-vue
154
```
155
</code-block>
156
@@ -161,14 +161,12 @@ yarn add floating-vue
161
162
</code-group>
163
164
-Add the `floating-vue/nuxt` module to your Nuxt config file:
+Add the `floating-vue/nuxt` module to your `nuxt.config` file:
165
166
```js
167
-import { defineNuxtConfig } from 'nuxt3'
168
-
169
export default defineNuxtConfig({
170
- buildModules: [
171
- 'floating-vue/nuxt',
172
- ],
+ modules: [
+ 'floating-vue/nuxt'
+ ]
173
})
174
0 commit comments