覆盖主题文件后提示 warn no layout #1117
Answered
by
ppoffice
Nofated095
asked this question in
Q&A
-
如题所示,我用 package.json 安装 hexo-theme-icarus,我希望对某部分主题的 jsx 文件做自定义修改,#892 中提出了通过创建 jsx 文件来覆盖主题中的 jsx,于是我尝试创建了 layout.jsx |
Beta Was this translation helpful? Give feedback.
Answered by
ppoffice
Sep 17, 2022
Replies: 3 comments 2 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Nofated095
-
@ppoffice waline.jsx 这一行导致了无法正确运用文件,有什么方法可以让他从 npm 包里读取文件吗 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
layout.jsx
不可以用覆盖的方式来修改。能用覆盖方式修改的只有comment
,donate
,plugin
,search
,share
,widget
文件夹下面的jsx文件。