【文件属性】:
文件名称:少数族裔
文件大小:607KB
文件格式:ZIP
更新时间:2021-03-04 01:55:46
JavaScript
盖茨比的世界初学者
用这个hello-world样板启动您的项目。 该入门工具随附了主要的Gatsby配置文件,您可能需要使用React的快速应用生成器来快速启动和运行。
还有其他更具体的想法吗? 您可能需要查看我们充满活力的集合。
:rocket: 快速开始
创建一个Gatsby网站。
使用Gatsby CLI创建一个新站点,并指定hello-world启动程序。
# create a new Gatsby site using the hello-world starter
gatsby new my-hello-world-starter https://github.com/gatsbyjs/gatsby-starter-hello-world
开始开发。
导航到新站点的目录并启动。
cd my-hello-world-starter/
gatsby develop
打开源代码并
【文件预览】:
minorities-main
----.prettierignore(45B)
----src()
--------pages()
--------content()
--------components()
--------assets()
----gatsby-config.js(919B)
----gatsby-node.js(929B)
----LICENSE(1KB)
----.prettierrc(45B)
----README.md(5KB)
----gatsby-browser.js(66B)
----.gitignore(974B)
----package-lock.json(908KB)
----package.json(1KB)
----static()
--------admin()
--------favicon.ico(3KB)
--------images()
--------fonts()
----.nvmrc(2B)