mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs: fix import of defineConfig
This commit is contained in:
parent
6f3f1c6ee4
commit
a60de743aa
@ -415,7 +415,7 @@ If you prefer to use `@vue/test-utils` on its own for unit testing in Nuxt, and
|
|||||||
2. Create a `vitest.config.ts` with the following content:
|
2. Create a `vitest.config.ts` with the following content:
|
||||||
|
|
||||||
```ts twoslash
|
```ts twoslash
|
||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vitest/config'
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
Loading…
Reference in New Issue
Block a user