new crafter.build structure

This commit is contained in:
Jorijn van der Graaf 2025-11-09 20:11:22 +01:00
commit e35b7302cb
22 changed files with 83 additions and 109 deletions

View file

@ -0,0 +1,8 @@
import Crafter.CppDOM;
using namespace Crafter::CppDOM;
int main(){
HtmlElement body("body");
body.SetInnerHTML("Hello World!");
//No need to call FreeJs, this is done in the destructor of HtmlElement.
}