安装
首先,我们需要一个简单的Next.js应用来玩。 尝试下载以下示例应用程序:
git clone https://github.com/arunoda/learnnextjs-demo.git
cd learnnextjs-demo
git checkout clean-urls
你可以运行它:
npm install
npm run dev
现在您可以通过浏览进入应用程序 http://localhost:3000.
首先,我们需要一个简单的Next.js应用来玩。 尝试下载以下示例应用程序:
git clone https://github.com/arunoda/learnnextjs-demo.git
cd learnnextjs-demo
git checkout clean-urls
你可以运行它:
npm install
npm run dev
现在您可以通过浏览进入应用程序 http://localhost:3000.
让时间为你证明