Reduce size of examples (#2601)

* Reduce size of examples with this one weird trick

* oops, fixup function_router
This commit is contained in:
WorldSEnder 2022-04-11 14:02:59 +02:00 committed by GitHub
parent dc60d6099e
commit daf6ec0152
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 36 additions and 0 deletions

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Boids</title>
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="index.scss" />
</head>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Context</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Counter</title>
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="index.scss" />
</head>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Create and destroy apps</title>
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="index.scss" />
</head>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • File Upload</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -7,6 +7,7 @@
<title>Yew • Function Memory Game</title>
<base data-trunk-public-url />
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="scss/index.scss" />
<link data-trunk rel="copy-dir" href="public/" />

View File

@ -12,6 +12,8 @@
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/todomvc-app-css@2.3.0/index.css"
/>
<link data-trunk rel="rust" />
</head>
<body></body>
</html>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Futures</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Game of Life</title>
<link data-trunk rel="rust" />
<link data-trunk rel="css" href="styles.css" />
<link data-trunk rel="copy-file" href="assets/favicon.ico" />
</head>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Inner HTML</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Js Callback</title>
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="index.scss" />
</head>

View File

@ -5,6 +5,8 @@
<title>Yew • Keyed list</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link data-trunk rel="css" href="styles.css" />
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Mount Point</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Nested List</title>
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="styles.scss" />
</head>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Node Refs</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Yew • Password Strength Estimator</title>
<link data-trunk rel="rust" />
<link data-trunk rel="sass" href="index.scss" />
</head>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Portals</title>
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -11,6 +11,8 @@
href="https://cdn.jsdelivr.net/npm/bulma@0.9.0/css/bulma.min.css"
/>
<link data-trunk rel="sass" href="index.scss" />
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -5,6 +5,7 @@
<title>Yew Suspense Demo</title>
<link data-trunk rel="sass" href="index.scss" />
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -6,6 +6,7 @@
<title>Yew • Timer</title>
<link data-trunk rel="scss" href="index.scss"/>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap" rel="stylesheet">
<link data-trunk rel="rust" />
</head>
<body></body>

View File

@ -12,6 +12,8 @@
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/todomvc-app-css@2.3.0/index.css"
/>
<link data-trunk rel="rust" />
</head>
<body></body>
</html>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • Two Apps</title>
<link data-trunk rel="rust" />
</head>
<body>
<div class="first-app"></div>

View File

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<title>Yew • WebGL</title>
<link data-trunk rel="rust" />
</head>
<body></body>