Skip to content

Commit

Permalink
readme完善主题切换说明
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Feb 10, 2022
1 parent 9fcb0bd commit f0f3360
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@
- 更多特性、欢迎移步[我的博客](https://tangly1024.com/article/notion-next)查看

## 主题样式
目前提供了4种主题 ,只需修改`/themes/index.js`文件即可实现切换。
```javascript
// export * from './Empty' // 空模板
// export * from './NEXT'
// export * from './Fukasawa'
// export * from './Hexo'
export * from './Medium'

```



| 主题截图 | 预览地址 |
|--|--|
| <img src='./docs/theme-next.png' width='300'/> | [notion-next.tangly1024.com](https://notion-next.tangly1024.com) |
Expand Down Expand Up @@ -75,11 +87,8 @@

```bash
yarn # 安装依赖

yarn run dev # 本地开发

yarn run build # 本地打包编译

yarn run start # 本地启动NextJS服务

```
Expand Down

0 comments on commit f0f3360

Please sign in to comment.