package.json. There should be a
pibkey with some information pre-filled.
templatedetermines the routine PIB uses to build your interactive. It should only ever be one of two values:
staticmeans that any code written in your
page.jsfiles will be run once to create your page, and then discarded. So things like click handlers in your JSX will no longer work.
dynamicmeans that any code written in your
page.jsfiles will be used to create your page, and then your page will be hydrated on-load to keep that functionality around. So things like click handlers and state management will continue to work after loading.
idis a random value generated each time you make a new project. It's used to uniquely identify your project.
pageNameis the title of your page (both in the
<title>and for Chartbeat).
publishPathis the URL of your story after
https://politico.com/. It should almost always start with
2019-04-09T19:43:35.259Z. They can also each be set to
nullto not be displayed.
Run >. You should see your ISO string as the second output in the console.
authorsshould be an array of objects with two keys:
name. This array will be used for UTag data and will also be rendered with their links in your page's header.