chore: update config section in README.md
This commit is contained in:
parent
557a4c2329
commit
685ce00f6b
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ npm run dev
|
|||
|
||||
## 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
|
||||
import registerComponents from "./packages/register-components";
|
||||
|
|
Loading…
Reference in a new issue