Skip to content

Commit 4a8f3e6

Browse files
authored
docs: clarify how to install in a layer (#178)
You don't need to declare the module in the main project, only in the base layer
1 parent 6541506 commit 4a8f3e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/guide/nuxt-layers-and-module-hooks.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ If you're **NOT** using Nuxt `^3.8.1+`, you should use `// @ts-expect-error` whe
1212

1313
## Nuxt Layers
1414

15-
Add your Vuetify configuration to a layer and then configure the module to use it:
15+
Follow the [installation instructions](https://vuetify-nuxt-module.netlify.app/guide/) for `vuetify-nuxt-module` in your layer. Then extend that layer in your other project:
1616
```ts
1717
// Nuxt config file
1818
import { defineNuxtConfig } from 'nuxt/config'
1919

2020
export default defineNuxtConfig({
2121
extends: ['my-awesome-vuetify-layer'],
22-
modules: ['vuetify-nuxt-module']
2322
})
2423
```
2524

0 commit comments

Comments
 (0)