eui
eui copied to clipboard
Update EUI with NextJS boilerplate
Summary
With the deprecation of create-react-app and our old next-eui-starter being obsolete, we should provide a new and easy-to-maintain way to support Next.js projects.
Next.js is often used for quick prototyping, and considering the recent create-react-app deprecation, it effectively became the standard way of bootstrapping React applications. We want to make it easy for customers to set up Next.js with EUI installed and ready to go.
The previously used approach of setting up a repo with the output of create-next-app and adding EUI isn't cutting it anymore. We want a stable solution that'll (hopefully) withstand major Next.js and EUI upgrades without regularly maintaining it. To achieve that, we should utilize the create-next-app's examples feature that allows bootstrapping a new Next.js app with a template added on top of it when --example parameter is provided.
Acceptance criteria
- EUI example should be created following Next.js example contribution guidelines
- PR adding the example to Next.js repo should be merged
- The example code should be made in a way that is version-agnostic and follows the latest versions of Next.js and EUI
- The old next-eui-starter repo should be marked as deprecated
@tkajtoch Can you please add more detail to this?
@JasonStoltz Can you please see if we have duplicate issues here?
Just looked through our backlog to see what we have related to NextJS.
We have this meta issue that encapsulates the work to support a number of additional environments.
I'll add that as a parent to this issue.
I updated the description to better reflect the scope of work
@tkajtoch Please update the description.
+1 for this one!
Hi Elastic Team, can you please work on creating next template that works with EUI. It will benefit hundreds—if not thousands—of developers.