Last active
February 21, 2024 14:35
-
-
Save rofe/b4cfd6269f02742ce6acf4a8822fa2b3 to your computer and use it in GitHub Desktop.
placeholders
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { fetchPlaceholders } from '/scripts/aem.js'; | |
// fetch placeholders from the 'en' folder | |
const placeholders = await fetchPlaceholders('en'); | |
// retrieve the value for key 'foo' | |
const { foo } = placeholders; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment