mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 12:43:34 +00:00
e88e394feb
# Objective - There are wasm specific examples, which is misleading as now it works by default - I saw a few people on discord trying to work through those examples that are very limited ## Solution - Remove them and update the instructions
27 lines
523 B
HTML
27 lines
523 B
HTML
<html>
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<style>
|
|
body {
|
|
background: linear-gradient(
|
|
135deg,
|
|
white 0%,
|
|
white 49%,
|
|
black 49%,
|
|
black 51%,
|
|
white 51%,
|
|
white 100%
|
|
);
|
|
background-repeat: repeat;
|
|
background-size: 20px 20px;
|
|
}
|
|
canvas {
|
|
background-color: white;
|
|
}
|
|
</style>
|
|
</head>
|
|
<script type="module">
|
|
import init from './target/wasm_example.js'
|
|
init()
|
|
</script>
|
|
</html>
|