--- /dev/null
+---
+editLink: false
+---
+
+[API 文档](../index.md) / [@pinia/nuxt](../modules/pinia_nuxt.md) / ModuleOptions
+
+# 接口:ModuleOptions
+
+[@pinia/nuxt](../modules/pinia_nuxt.md).ModuleOptions
+
+## 属性 %{#Properties}%
+
+### autoImports %{#Properties-autoImports}%
+
+• `Optional` **autoImports**: (`string` \| [`string`, `string`])[]
+
+将被添加到 nuxt.config.js 文件的自动导入数组。
+
+**`Example`**
+
+```js
+autoImports: [
+ // automatically import `defineStore`
+ 'defineStore',
+ // automatically import `defineStore` as `definePiniaStore`
+ ['defineStore', 'definePiniaStore',
+]
+```
+
+---
+
+### disableVuex %{#Properties-disableVuex}%
+
+• `Optional` **disableVuex**: `boolean`
+
+默认情况下,Pinia 会禁用 Vuex,将此选项设置为 `false` 可启用 Vuex,然后便可同时使用 Pinia 和 Vuex(仅在 Nuxt 2 中支持)。
+
+**`Default`**
+
+`true`
▸ (...`args`): `any`
-Generic type for a function that can infer arguments and return type
+可以推断参数和返回值类型的函数通用类型。
**仅**供内部使用
#### 返回值
-`ToRefs`<[`StoreState`](pinia.md#storestate)<`SS`\> & [`StoreGetters`](pinia.md#storegetters)<`SS`\> & [`PiniaCustomStateProperties`](../interfaces/pinia.PiniaCustomStateProperties.md)<[`StoreState`](pinia.md#storestate)<`SS`\>\>\>
+`ToRefs`<[`StoreState`](pinia.md#storestate)<`SS`\> & [`StoreGetters`](pinia.md#storegetters)<`SS`\> & [`PiniaCustomStateProperties`](../interfaces/pinia.PiniaCustomStateProperties.md)<[`StoreState`](pinia.md#storestate)<`SS`\>\>\>
\ No newline at end of file