feat(site): update demp page to show js expression
This commit is contained in:
parent
272a59d8d9
commit
be3191547b
1 changed files with 3 additions and 4 deletions
|
@ -17,9 +17,6 @@
|
|||
function sum(x, y) {
|
||||
return x + y;
|
||||
}
|
||||
|
||||
const hey = 'hey'
|
||||
const world = 'world'
|
||||
</script>
|
||||
</my-head>
|
||||
<body>
|
||||
|
@ -29,7 +26,7 @@
|
|||
<main>
|
||||
<section id="intro">
|
||||
<h1>McFly Demo</h1>
|
||||
<h2>{{ hey }}, {{ world }} {{1+1}} {{hey}} {{3-2}} {{hey}} {{new Date().toString()}}</h2>
|
||||
<p>Server date time: {{new Date().toLocaleString()}}</p>
|
||||
<warning-block
|
||||
><span>This page is in-progress. See the
|
||||
<a
|
||||
|
@ -54,6 +51,7 @@
|
|||
border-radius: 5px;
|
||||
"
|
||||
>
|
||||
<p>Server date time: {{new Date().toLocaleString()}}</p>
|
||||
<a href="/demo/about">{{ count }}</a>
|
||||
<div>
|
||||
<my-hello-world id="my-hello" my-name="{{ name }}"></my-hello-world>
|
||||
|
@ -86,6 +84,7 @@
|
|||
</script>
|
||||
</my-head>
|
||||
<body>
|
||||
<p>Server date time: {{ new Date().toLocaleString() }}</p>
|
||||
<a href="/demo/about">{{ count }}</a>
|
||||
<div>
|
||||
<my-hello-world id="my-hello" my-name="{{name}}"></my-hello-world>
|
||||
|
|
Loading…
Reference in a new issue