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