More templating
index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{project-name}}</title>
<script type="module">
import init from "./pkg/{{crate_name}}.js";
await init();
</script>
</head>
<body>
<hello-card></hello-card>
</body>
</html>
File history (2 commits)
Template