iced_web icon indicating copy to clipboard operation
iced_web copied to clipboard

Update README to suggest using trunk to build for web

Open Person-93 opened this issue 2 years ago • 3 comments

I used trunk to serve the tour package and had no issues. I just put this html file into the package root and ran trunk serve.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>Trunk of ice</title>
    <base data-trunk-public-url/>
</head>
<body>
<link data-trunk rel="rust" href="Cargo.toml" data-wasm-opt="z" data-bin="tour"/>
</body>
</html>

Person-93 avatar Dec 16 '21 17:12 Person-93