mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Reduce size of examples (#2601)
* Reduce size of examples with this one weird trick * oops, fixup function_router
This commit is contained in:
parent
dc60d6099e
commit
daf6ec0152
@ -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>
|
||||
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • Context</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • File Upload</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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/" />
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • Futures</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • Inner HTML</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • Mount Point</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • Node Refs</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • Portals</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -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>
|
||||
|
||||
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>Yew • WebGL</title>
|
||||
|
||||
<link data-trunk rel="rust" />
|
||||
</head>
|
||||
|
||||
<body></body>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user