Skip to content
Closed
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
docs: add example error message for standalone
I missed the standalone option. Had to learn the hard way. 
By adding this error message to the docs I hope search engine indexing will help other people who did not read the docs correctly.
  • Loading branch information
DavidDeSloovere authored Jun 17, 2024
commit f0f6a9302edf7bfd52495572d89c26930b62a8b7
2 changes: 1 addition & 1 deletion docs/content/1.packages/0.module.md
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ export default defineNuxtConfig({
})
```

This ensures the module only generates Nuxt-specific rules so that you can merge it with your own config presets.
This ensures the module only generates Nuxt-specific rules so that you can merge it with your own config presets. If this option is not changed, you can get errors like `ConfigError: Config "antfu/imports/rules": Key "plugins": Cannot redefine plugin "import".`

For example, with [`@antfu/eslint-config`](https://github.com/antfu/eslint-config):

Expand Down