Add Effect v4 support, Fast Refresh tooling, and revamped docs #56
@@ -157,6 +157,26 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hotReload {
|
||||||
|
align-items: center;
|
||||||
|
color: var(--home-teal);
|
||||||
|
display: inline-flex;
|
||||||
|
font-size: 0.82rem;
|
||||||
|
font-weight: 750;
|
||||||
|
gap: 0.5rem;
|
||||||
|
margin-top: 0.75rem;
|
||||||
|
text-decoration: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hotReload span {
|
||||||
|
color: var(--home-amber);
|
||||||
|
font-size: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hotReload:hover {
|
||||||
|
color: var(--home-teal-bright);
|
||||||
|
}
|
||||||
|
|
||||||
.codeStage {
|
.codeStage {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
perspective: 1200px;
|
perspective: 1200px;
|
||||||
|
|||||||
@@ -126,6 +126,13 @@ export default function Home(): ReactNode {
|
|||||||
<span aria-hidden="true">$</span>
|
<span aria-hidden="true">$</span>
|
||||||
<code>npm install effect-view effect@beta</code>
|
<code>npm install effect-view effect@beta</code>
|
||||||
</div>
|
</div>
|
||||||
|
<Link
|
||||||
|
className={styles.hotReload}
|
||||||
|
to="/docs/getting-started#set-up-hot-reloading-with-vite"
|
||||||
|
>
|
||||||
|
<span aria-hidden="true">↻</span>
|
||||||
|
Hot reload with Vite Fast Refresh
|
||||||
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className={styles.codeStage}>
|
<div className={styles.codeStage}>
|
||||||
|
|||||||
Reference in New Issue
Block a user