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

feat: update Next.js generator style with tailwind #348

Merged
merged 3 commits into from
Dec 2, 2022

Conversation

ginifizz
Copy link
Contributor

@ginifizz ginifizz commented Nov 4, 2022

! Needs to be merged at the same time as #2320

<a className="text-sm text-cyan-500 font-bold hover:text-cyan-700">
{`< Back to list`}
</a>
</Link>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: Bad indentation

aria-invalid={errors.{{name}} && touched.{{name~}} ? 'true' : undefined}
onChange={handleChange}
onBlur={handleBlur}
/>
<ErrorMessage
className="invalid-feedback"
className="text-xs text-red-500 pt-1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
className="text-xs text-red-500 pt-1"
className="text-xs text-red-500 pt-1"

@@ -10,26 +10,30 @@ interface Props {
}

export const List: FunctionComponent<Props> = ({ {{{lc}}}s }) => (
<div>
<h1>{{{ucf}}} List</h1>
<div className="p-4">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<div className="p-4">
<div className="p-4">

@dunglas
Copy link
Member

dunglas commented Nov 15, 2022

The test failure looks related. Do you have an idea of what's going on @alanpoulain?

@alanpoulain
Copy link
Member

It's probably because create-next-app does not generate pages/index.tsx anymore. It needs to be investigated.

@alanpoulain alanpoulain force-pushed the feat/update-style branch 2 times, most recently from 3050f03 to 4d62e80 Compare December 2, 2022 16:08
@alanpoulain alanpoulain merged commit e405014 into api-platform:main Dec 2, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants