Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update EUI with NextJS boilerplate #8336

Open
weronikaolejniczak opened this issue Feb 20, 2025 · 3 comments
Open

Update EUI with NextJS boilerplate #8336

weronikaolejniczak opened this issue Feb 20, 2025 · 3 comments

Comments

@weronikaolejniczak
Copy link
Contributor

weronikaolejniczak commented Feb 20, 2025

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
@JasonStoltz
Copy link
Member

@tkajtoch Can you please add more detail to this?

@JasonStoltz Can you please see if we have duplicate issues here?

@JasonStoltz
Copy link
Member

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.

@tkajtoch
Copy link
Member

I updated the description to better reflect the scope of work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants