How to customize the theme / 修改主题 #609
-
希望自己基于当前的主题,做一些适合自己的定制化开发。我好像不知道怎么去改。是直接克隆这个源码吗,但是跑不起来 I hope I can do some customized development that suits me based on the current theme. I don't seem to know how to change it. Is it to clone the source code directly? but it can't run |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The theme is totally written in TypeScript, which means all the source files need to be compiled first. So you should run 该主题完全用TypeScript编写,这意味着所有源文件都需要首先编译。 因此,您应该首先运行 |
Beta Was this translation helpful? Give feedback.
-
BTW, if you just want some style changes, we recommand you to use the theme eject feature to edit this theme. 顺便说一句,如果您只想更改样式,我们建议您使用主题弹出功能来编辑此主题。 |
Beta Was this translation helpful? Give feedback.
The theme is totally written in TypeScript, which means all the source files need to be compiled first. So you should run
yarn build
first.该主题完全用TypeScript编写,这意味着所有源文件都需要首先编译。 因此,您应该首先运行
yarn build
。