First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying http://localhost:3000/modals/codeblock/
. The page auto-updates as you edit the file.
Add a component codeblock to your creative.
When editing your codeblock component the rendering iframe is already looking for the react component.
To learn more about this implementation, take a look at the following resources:
- Documentation - learn about spike backbone to react migration.