Components
Do you have multiple templates and you want to share components between these templates? Create a /components
directory in the root of your project. Then, you can import the components as usual.
Here is an example:
components/Title.js
templates/home.js