You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,15 +16,14 @@ Update your [Vite configuration](https://vitejs.dev/config/):
16
16
17
17
###
18
18
```jsß
19
-
import { defineConfig } from 'vite'
20
19
import nightwatchPlugin from 'vite-plugin-nightwatch'
21
20
22
-
export default defineConfig({
21
+
export default {
23
22
plugins: [
24
23
// ... other plugins, such as vue() or react()
25
24
nightwatchPlugin()
26
25
]
27
-
})
26
+
}
28
27
```
29
28
30
29
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