1 Star 0 Fork 0

Jeff/space

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gatsby-ssr.js 574 Bytes
一键复制 编辑 原始数据 按行查看 历史
Stackbit 提交于 2020-11-09 10:24 . initial commit by Stackbit
/**
* Implement Gatsby's SSR (Server Side Rendering) APIs in this file.
*
* See: https://www.gatsbyjs.org/docs/ssr-apis/
*/
const React = require("react");
const withPrefix = require("./src/utils/withPrefix").default;
exports.onRenderBody = function({ setHeadComponents, setPostBodyComponents }) {
setHeadComponents([
]);
setPostBodyComponents([
<React.Fragment>
<script src={withPrefix('assets/js/plugins.js')}/>
<script src={withPrefix('assets/js/main.js')}/>
</React.Fragment>
]);
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/zizhujy/space.git
[email protected]:zizhujy/space.git
zizhujy
space
space
master

搜索帮助