Created
April 5, 2024 19:45
-
-
Save PaulieScanlon/b2238f4cdc14836c3f88336fcf2c83eb to your computer and use it in GitHub Desktop.
Example Waku Route
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
// src/pages/index.jsx | |
import ParentComponent from '../components/parent-component.js'; | |
const Page = async () => { | |
return <ParentComponent />; | |
}; | |
export default Page; | |
export const getConfig = async () => { | |
return { | |
render: 'dynamic', | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment