new-project

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

New Project

新项目

Scaffold a new project from the personal Next.js monorepo template.
基于个人 Next.js monorepo 模板搭建新项目脚手架。

When to use

使用场景

  • Starting a brand-new project / repo from scratch.
  • Triggers: "create a new project", "spin up a new app", "scaffold a new repo", "new Next.js project".
  • 从零开始创建全新的项目或代码仓库。
  • 触发词:“创建一个新项目”“快速搭建新应用”“搭建新仓库”“新的 Next.js 项目”。

Steps

步骤

Replace
<project-name>
with the project name. Run from the directory where the project folder should live.
bash
gh repo create <project-name> --template Mark-Life/netxjs-monorepo --private --clone
cd <project-name>
bun install
bun run upgrade
bun run upgrade
updates Next.js, refreshes all shadcn/ui components, updates deps, and runs lint fixes.
将
<project-name>
替换为项目名称。请在目标项目文件夹所在目录中运行以下命令。
bash
gh repo create <project-name> --template Mark-Life/netxjs-monorepo --private --clone
cd <project-name>
bun install
bun run upgrade
bun run upgrade
会更新 Next.js、刷新所有 shadcn/ui 组件、更新依赖项并修复 lint 问题。

Notes

注意事项