separate shortcodes: display, debug
This commit is contained in:
parent
6249f5f48c
commit
65d31a543f
3 changed files with 2 additions and 12 deletions
|
@ -18,3 +18,5 @@ cyberscopes example site - use petite-vue in Hugo-generated sites.
|
|||
{{< pv/input-textline name="lastname" >}}
|
||||
|
||||
{{< pv/display expr="`${data.firstname} ${data.lastname}`" >}}
|
||||
|
||||
{{< pv/debug >}}
|
||||
|
|
|
@ -2,10 +2,6 @@
|
|||
<div>id = {| conf.itemid |}</div>
|
||||
</div>
|
||||
|
||||
<div v-scope @vue:mounted="mounted('data')">
|
||||
<pre v-text="data"></pre>
|
||||
</div>
|
||||
|
||||
<div v-scope @vue:mounted="mounted('output')">
|
||||
<pre v-text="output"></pre>
|
||||
</div>
|
||||
|
|
|
@ -3,11 +3,3 @@
|
|||
<pre v-text="{{ $expr }}"></pre>
|
||||
</div>
|
||||
|
||||
<div v-scope @vue:mounted="mounted('output')">
|
||||
<pre v-text="output"></pre>
|
||||
</div>
|
||||
|
||||
<div v-scope>
|
||||
<div>id = {| conf.itemid |}</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue