1 Star 0 Fork 0

mpv945/next-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
ReadMe.txt 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
YCWB4646 提交于 2024-10-05 21:53 . first commit
Next.js
官网:https://nextjs.org/docs/getting-started/installation
中文:https://next.nodejs.cn/docs/getting-started/installation
npx create-next-app@latest 通过cli模板创建项目(回车后进入交互命令行)
PS C:\Users\ycwb4646> npx create-next-app@latest
Need to install the following packages:
create-next-app@14.2.14
Ok to proceed? (y)
√ What is your project named? ... next-app
√ Would you like to use TypeScript? ... No / Yes
√ Would you like to use ESLint? ... No / Yes
√ Would you like to use Tailwind CSS? ... No / Yes
√ Would you like to use `src/` directory? ... No / Yes
√ Would you like to use App Router? (recommended) ... No / Yes
√ Would you like to customize the default import alias (@/*)? ... No / Yes
Creating a new Next.js app in C:\Users\ycwb4646\next-app.
cd .\next-app\
运行
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
访问:http://localhost:3000/
安装最新依赖:
npm install next@latest react@latest react-dom@latest
运行脚本:package.json
{
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mpv945/next-app.git
git@gitee.com:mpv945/next-app.git
mpv945
next-app
next-app
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385