Group Group Group Group Group Group Group Group Group

Swift in Browser

Is there a way to use swift instead of javascript directly (without WebAssembly or similar)?

I’m trying to create a framework to create static front-end website to substitute HTML, CSS and Javascript with Swift. To substitute HTML and CSS is easy. but the problem is Javascript because javascript detect and catch events of browser.

have you any idea?