Generate directly the html
Unanswered
Transvaal lion posted this in #help-forum
Transvaal lionOP
Hello,
I have a 100% static site on NextJS, there is no dynamic data.
I'd like to be able to use the SGG method: generate an html file with all my html blocks to relieve the rendering on the browser side.
Is this possible?
I've looked at the documentation but I don't understand how it works.
Thanks a lot!
I have a 100% static site on NextJS, there is no dynamic data.
I'd like to be able to use the SGG method: generate an html file with all my html blocks to relieve the rendering on the browser side.
Is this possible?
I've looked at the documentation but I don't understand how it works.
Thanks a lot!
1 Reply
Transvaal lionOP
Example :
I'd like to export an about.html file with : <div>About</div>
function About() {
return <div>À propos de nous</div>;
}
export default About;I'd like to export an about.html file with : <div>About</div>