feat(server): Add basePath config to host from a directory (#2092)
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
fe792455ab
commit
9ab8651018
@@ -0,0 +1,27 @@
|
||||
import { Head } from "$fresh/runtime.ts";
|
||||
|
||||
export default function Page() {
|
||||
return (
|
||||
<>
|
||||
<Head>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
</Head>
|
||||
<div>
|
||||
<div id="script-output" />
|
||||
<script src="/script.js"></script>
|
||||
<img class="img" src="/img.png" alt="" />
|
||||
<img
|
||||
class="img-srcset"
|
||||
src="/img.png"
|
||||
srcset="/img.png 480w, /img.png 800w"
|
||||
alt=""
|
||||
/>
|
||||
<picture>
|
||||
<source srcset="/img.png" media="(min-width: 600px)" />
|
||||
<img src="/img.png" alt="MDN" />
|
||||
</picture>
|
||||
<p class="foo">css style</p>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user