new-project
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNew 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 with the project name. Run from the directory where the project folder should live.
<project-name>bash
gh repo create <project-name> --template Mark-Life/netxjs-monorepo --private --clone
cd <project-name>
bun install
bun run upgradebun run upgrade将 替换为项目名称。请在目标项目文件夹所在目录中运行以下命令。
<project-name>bash
gh repo create <project-name> --template Mark-Life/netxjs-monorepo --private --clone
cd <project-name>
bun install
bun run upgradebun run upgradeNotes
注意事项
- Template: Mark-Life/netxjs-monorepo
- clones into the current directory; the new repo is created private.
--clone
- 模板:Mark-Life/netxjs-monorepo
- 会将仓库克隆到当前目录;新仓库将被创建为私有仓库。
--clone