Skip to content

Commit

Permalink
[trivial] README.md update (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
adobabe authored Jun 20, 2024
1 parent 215f617 commit 7efc8ed
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ Typically, you'd know you don't have the plugin system if you don't see a refere
toClassName,
};
```
And make sure to import any missing/undefined methods from `aem.js`/`lib-franklin.js` at the very top of the file:
```js
import {
...
getMetadata,
loadScript,
toCamelCase,
toClassName,
} from './aem.js';
```
3. Early in the `loadEager` method you'll need to add:
```js
async function loadEager(doc) {
Expand Down

0 comments on commit 7efc8ed

Please sign in to comment.