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) {
|
function sum(x, y) {
|
||||||
return x + y;
|
return x + y;
|
||||||
}
|
}
|
||||||
|
|
||||||
const hey = 'hey'
|
|
||||||
const world = 'world'
|
|
||||||
</script>
|
</script>
|
||||||
</my-head>
|
</my-head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -29,7 +26,7 @@
|
||||||
<main>
|
<main>
|
||||||
<section id="intro">
|
<section id="intro">
|
||||||
<h1>McFly Demo</h1>
|
<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
|
<warning-block
|
||||||
><span>This page is in-progress. See the
|
><span>This page is in-progress. See the
|
||||||
<a
|
<a
|
||||||
|
@ -54,6 +51,7 @@
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
|
<p>Server date time: {{new Date().toLocaleString()}}</p>
|
||||||
<a href="/demo/about">{{ count }}</a>
|
<a href="/demo/about">{{ count }}</a>
|
||||||
<div>
|
<div>
|
||||||
<my-hello-world id="my-hello" my-name="{{ name }}"></my-hello-world>
|
<my-hello-world id="my-hello" my-name="{{ name }}"></my-hello-world>
|
||||||
|
@ -86,6 +84,7 @@
|
||||||
</script>
|
</script>
|
||||||
</my-head>
|
</my-head>
|
||||||
<body>
|
<body>
|
||||||
|
<p>Server date time: {{ new Date().toLocaleString() }}</p>
|
||||||
<a href="/demo/about">{{ count }}</a>
|
<a href="/demo/about">{{ count }}</a>
|
||||||
<div>
|
<div>
|
||||||
<my-hello-world id="my-hello" my-name="{{name}}"></my-hello-world>
|
<my-hello-world id="my-hello" my-name="{{name}}"></my-hello-world>
|
||||||
|
|
Loading…
Reference in a new issue