Skip to content

Commit 280b2cc

Browse files
authored
Update README.md
1 parent d8da453 commit 280b2cc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,14 @@ Update your [Vite configuration](https://vitejs.dev/config/):
1616

1717
###
1818
```jsß
19-
import { defineConfig } from 'vite'
2019
import nightwatchPlugin from 'vite-plugin-nightwatch'
2120
22-
export default defineConfig({
21+
export default {
2322
plugins: [
2423
// ... other plugins, such as vue() or react()
2524
nightwatchPlugin()
2625
]
27-
})
26+
}
2827
```
2928

3029
Nightwatch assumes the Vite dev server is already running and will be using `http://localhost:3000` as base url. You can change that in your `nightwatch.conf.js` by setting either `launchUrl` or `baseUrl` properties.

0 commit comments

Comments
 (0)