chore: update config section in README.md

This commit is contained in:
Ayo Ayco 2023-10-14 12:51:48 +02:00 committed by GitHub
parent 557a4c2329
commit 685ce00f6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ npm run dev
## McFly config ## McFly config
To tell McFly you want to use components, pass `registerComponents()` as `onBuild` one callback To tell McFly you want to use components, pass `registerComponents()` as one of the `onBuild` callbacks in mcfly.config.ts
```js ```js
import registerComponents from "./packages/register-components"; import registerComponents from "./packages/register-components";