Templates
note
Every component in the /templates
directory is going to be treated as a template and must default export a React.js component.
This is similar to how Next.js treats pages in the /pages directory.
/templates/hello.js
caution
Folders inside /templates
are not supported.