User Tools

Site Tools


network:webdev:gatsby

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
network:webdev:gatsby [2021/07/18 22:27]
zhwiki [创建网站]
network:webdev:gatsby [2021/07/18 22:38] (current)
zhwiki [创建网站]
Line 34: Line 34:
 进入交互模式,创建网站。 进入交互模式,创建网站。
   ​   ​
-2. 编译网站,进入网站目录,运行编译工具:+2. 编译网站,进入网站目录,运行编译工具,在本地编译网站
  
   npm run develop   npm run develop
   ​   ​
 +3. 编译完成后,运行本地服务器:
 +
 +  gatsby develop
 +
 +此时,就可以在浏览器查看网站:
 +
 +  http://​localhost:​8000/​
 +
 +查看GraphiQL:
 +
 +  http://​localhost:​8000/​___graphql
  
  
network/webdev/gatsby.txt · Last modified: 2021/07/18 22:38 by zhwiki