【文件属性】:
文件名称:gatsby-helloworld:测试应用
文件大小:293KB
文件格式:ZIP
更新时间:2021-03-25 19:40:55
SCSS
盖茨比的世界初学者
用这个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
打开源代码并
【文件预览】:
gatsby-helloworld-master
----package.json(1023B)
----.prettierrc(45B)
----.prettierignore(45B)
----LICENSE(675B)
----package-lock.json(711KB)
----static()
--------favicon.ico(3KB)
----gatsby-config.js(322B)
----src()
--------templates()
--------pages()
--------components()
--------styles()
--------posts()
----.gitignore(974B)
----README.md(5KB)
----gatsby-node.js(969B)