我下载了这个模板:https://github.com/cobidev/simplefolio来创建个人网站,并在src文件夹中编辑了template.html文件。如何在template.html中运行index.html文件以便部署index.html文件?将代码复制到新的index.html文件中只会导致纯HTML,而不会产生任何动画。
发布于 2021-10-28 19:59:53
您可以使用iframe呈现页面。但是您也可以检查index.html中的资产路径,这样就不需要使用iframe了。
<iframe src="template.html" width="100%" height="100%"></iframe>https://stackoverflow.com/questions/69759405
复制相似问题