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

init branch phuc-dev #27

Merged
merged 12 commits into from
Aug 23, 2023
Merged

init branch phuc-dev #27

merged 12 commits into from
Aug 23, 2023

Conversation

minhphuc010194
Copy link
Member

Create EDITOR

@minhphuc010194 minhphuc010194 self-assigned this Aug 21, 2023
@vercel
Copy link

vercel bot commented Aug 21, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextjs-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 0:37am

@@ -1,5 +1,5 @@
version: "3.8"
name: nextjs-template
# name: nextjs-template
Copy link
Member

Choose a reason for hiding this comment

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

ủa sao xoá tên vậy?

@minhphuc010194
Copy link
Member Author

minhphuc010194 commented Aug 21, 2023 via email

package.json Outdated
"@types/node": "20.5.1",
"@types/react": "18.2.20",
"@types/react-dom": "18.2.7",
"eslint": "8.47.0",
"eslint-config-next": "13.4.19",
"eslint-config-prettier": "9.0.0",
"jotai": "^2.3.1",
Copy link
Member

Choose a reason for hiding this comment

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

jotai nên nằm trong dependencies
và nên install bằng -E => 2.3.1

@@ -60,3 +61,14 @@ model VerificationToken {

@@unique([identifier, token])
}

model Post {
id Int @id @default(autoincrement())
Copy link
Member

@sangdth sangdth Aug 22, 2023

Choose a reason for hiding this comment

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

id nên là uuid @id String @default(uuid())

@sangdth
Copy link
Member

sangdth commented Aug 22, 2023

Cái vercel build bị fail, anh đoán là do cái route pages/post thiếu index.tsx, nên nó không thấy trang /post có default export. Em làm một trang empty, export default <p>hello world</p> coi sao.

@sangdth sangdth merged commit c900473 into master Aug 23, 2023
2 checks passed
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.

2 participants