Are there ready-made templates for the Strapi integration?
Sorry if this is a basic question, I am a junior dev and got handed a proof of concept for personalizing our Strapi site. I have read the integration overview but wiring everything from scratch feels like a lot for a first attempt.
Is there some kind of starter or template I can begin from instead? Even just a reference setup I could copy the structure of would help me alot. Thanks in advance and sorry again if I missed something obvious in the docs.
1 answer
There are starting points, you do not have to wire anything from scratch.
Start with npx croct@latest init in your frontend project. It scaffolds the setup for you and generates a slots.d.ts file so your slot content is typed from day one. That alone removes most of the from-scratch wiring you are dreading.
On top of that, the CLI has a use command for applying a ready-made template and a create template command for turning your own setup into one later, which is handy once your PoC becomes the reference for other projects. There is a walkthrough of the available starting points in the post on Strapi integration templates, I would read that before writing any code.