【文件属性】:
文件名称:简单语言示例:使用CodeSandbox创建
文件大小:5KB
文件格式:ZIP
更新时间:2021-02-22 07:41:19
JavaScript
Hello World示例
如何使用
使用create-next-app
使用或执行以引导示例:
npx create-next-app --example hello-world hello-world-app
# or
yarn create next-app --example hello-world hello-world-app
手动下载
下载示例:
curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/hello-world
cd hello-world
安装并运行:
npm install
npm run dev
# or
yarn
yarn dev
它部署到云()
now
示例背后的想法
此示例显示了Next
【文件预览】:
simple-language-example-master
----pages()
--------_app.js(348B)
--------about.js(41B)
--------index.js(600B)
--------day()
----next.config.js(180B)
----README.md(1KB)
----i18n.js(293B)
----package.json(317B)
----static()
--------locales()