- npx create-next-app@latest
TypeScript Yes
ESLint Yes
Tailwind CSS Yes
src Yes
App Router Yes
customize import alias (@/*) Yes - pnpm install
- pnpm dev
Two built-in accounts:
admin: 13641039885@163.com 11111111
user: 123@123.com 11111111
You need to log in to view the blog details. If you are not logged in, you will automatically jump to the login page.
The administrator account has permission to publish blogs
Notice:
- If you get an error like this:
app-index.js:32 Warning: Extra attributes from the server: data-new-gr-c-s-check-loaded,data-gr-ext-installed at body at html at RedirectErrorBoundary.
this is because of some extensions like "Grammarly" or "AdBlock" that inject some extra attributes to the html tag. - After the hook command is configured using the simple-git-hooks command, you need to run
npx simple-git-hooks
for it to take effect.
If you want to test whether the git hook configuration will execute through echo xxx, note that you need to execute the command in the console to trigger the relevant hook, otherwise the output will not print in the console.