Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yuyingwu/blog

Yuying Wu's Blog
https://github.com/yuyingwu/blog

article blog css education gatsby-blog graphql html javascript learn-javascript learn-to-code markdown react

Last synced: 3 months ago
JSON representation

Yuying Wu's Blog

Awesome Lists containing this project

README

        

[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/YuyingWu/blog) [![Netlify Status](https://api.netlify.com/api/v1/badges/6c2e7c27-9377-4b83-a71c-eef44d173609/deploy-status)](https://app.netlify.com/sites/wuyuying/deploys)

# Yuying Wu's Blog

## 主题开发

> node >= 10.13.0

文件目录:

- workspace
- blog (current repo)
- gatsby-theme-chaton
- package.json

```
# workspace/package.json

{
"name": "gatsby-starter-theme-workspace",
"private": true,
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "yarn workspace wyy-blog develop",
"build": "yarn workspace wyy-blog build",
"serve": "yarn workspace wyy-blog serve"
},
"workspaces": [
"wyy-blog",
"gatsby-theme-chaton"
]
}
```

其中,在blog中的 `package.json` 对 `gatsby-theme-chaton` 依赖的版本为 `*`。

```
# blog/package.json

"dependencies": {
"gatsby-theme-chaton": "*"
}
```

运行:

```shell
yarn dev
```