Home > Blockchain >  How do I Run a Template.HTML file in Index.html?
How do I Run a Template.HTML file in Index.html?

Time:10-29

I downloaded this template: https://github.com/cobidev/simplefolio to create a personal website, and edited the template.html file within the src folder. How do I run the template.html file in index.html so I can deploy the index.html file? Copying the code into a new index.html file results just results in plain HTML without any animation.

CodePudding user response:

You can render the page using iframe. but you can also check for the assets path in you index.html then no need to use iframe

<iframe src="template.html" width="100%" height="100%"></iframe>
  • Related