Skip to content
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
articles
src
static
.eslintrc.js
.gitignore
.prettierignore
README.md
gatsby-browser.js
gatsby-config.js
gatsby-node.js
gatsby-ssr.js
package.json
prettier.config.js

README.md

不仅代码

文章

开发

目录结构

|- articles 存放文章及文章相关数据
|- src 网页模板
|- static 存放静态文件
|- gatsby-*.js gatsby.js配置

运行环境

  • Node.js
  • NPM

开发模式

npm install
npm run dev
# http://localhost:8000

生产预览模式

npm run build
npm run serve
# http://localhost:9000

问题

npm run dev / npm run build 出错

尝试删除 .cache / public 目录重新运行

You can’t perform that action at this time.