Closed 0xzhang closed 1 year ago
修改了dist
目录下的_footer.js
,应该解决了这个问题。
const Footer = () => (React.createElement("footer", null,
"Powered by\u00A0",
React.createElement("a", { href: "https://github.com/xcatliu/pagic", target: "_blank" }, "Pagic"),
React.createElement("br"),
React.createElement("a", { href: "https://beian.miit.gov.cn/", target: "_blank" }, "京ICP备xxx号-1"),
));
export default Footer;
按照文档中的使用方式:https://pagic.cn/docs/config.html#footer
在pagic.config.tsx
中添加footer
应该是更合适的方式,但是似乎并不能正确生成对应的_footer.js
?
怎样添加备案号是合适的方式呢。需要做成一个插件吗?