feat(templates): add <my-head> explanation
This commit is contained in:
parent
2d10fdedd6
commit
7f6cf37224
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
|||
<!--
|
||||
Hello! This page is an example McFly page.
|
||||
See more on https://ayco.io/gh/McFly
|
||||
|
||||
<my-head> here is a static HTML fragment found in ./components/my-head.html
|
||||
you can reuse it to have the same <head> on every page
|
||||
any children will be inserted into the <slot /> on the fragment
|
||||
-->
|
||||
<my-head>
|
||||
<script server:setup>
|
||||
|
|
Loading…
Reference in a new issue