Skip to content

Commit e2edfbc

Browse files
chore: update readme
1 parent b9076f2 commit e2edfbc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@ npm install -D cypress-ct-qwik
4747

4848
2. Follow the configuration wizard
4949

50-
3. Add the `addQwikLoader()` function to the `cypress/support/components.ts` file.
50+
3. Add `addQwikLoader` to the `cypress/support/component.ts` file -
51+
52+
```ts
53+
// component.ts
54+
import { addQwikLoader } from 'cypress-ct-qwik';
55+
addQwikLoader();
56+
57+
```
5158

5259
Pretty easy... 😊
5360

0 commit comments

Comments
 (0)