Gatsby.js 默认起始站点未在 typography.js 更改时更新
Gatsby.js default starter site not updating on typography.js changes
我正在通过他们的教程学习 Gatsby.js。
我正要使用 typography.js,但我的站点没有采用我在 typography.js 文件中写入的内容。
他们在教程中说:
with the default starter, you’ll need to delete the default layout.css
used by that starter as it overrides the Typography.js CSS
https://www.gatsbyjs.org/tutorial/part-two/
问题是:我在哪里可以找到默认值 "layout.css"?
谢谢!
马特奥
我的 git 回购 here
文档状态:
Stop gatsby develop by typing Ctrl + c
into the terminal window where the development process has been running. Then, run gatsby develop
again to restart it. This will allow your plugin change to take effect.
但是,我发现您需要先 运行 gatsby build
,然后再 运行 宁 gatsby develop
才能看到对 Typography.js
选项。
我正在通过他们的教程学习 Gatsby.js。
我正要使用 typography.js,但我的站点没有采用我在 typography.js 文件中写入的内容。
他们在教程中说:
with the default starter, you’ll need to delete the default layout.css used by that starter as it overrides the Typography.js CSS https://www.gatsbyjs.org/tutorial/part-two/
问题是:我在哪里可以找到默认值 "layout.css"?
谢谢!
马特奥
我的 git 回购 here
文档状态:
Stop gatsby develop by typing
Ctrl + c
into the terminal window where the development process has been running. Then, rungatsby develop
again to restart it. This will allow your plugin change to take effect.
但是,我发现您需要先 运行 gatsby build
,然后再 运行 宁 gatsby develop
才能看到对 Typography.js
选项。