Skip to content

Commit

Permalink
docs: Update template E2E example
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidnioulz committed Sep 7, 2023
1 parent 132362f commit 2369623
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions examples/e2e-template/Input.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<template>
<div :class="containerClassNames">
<QuoteHeader>{{ slotProps.a }} {{ slotProps.b }}</QuoteHeader>
<QuoteHeader> {{ slotProps.a }} {{ slotProps.b }} </QuoteHeader>
<blockquote :class="quoteClassNames">
<component :is="icon" size="medium" /><slot foo="bar"> Missing quote </slot>
<component :is="icon" size="medium" />
<slot foo="bar"> Missing quote </slot>
</blockquote>
<footer>
― {{ author }}, ifif<slot name="extras" />
― {{ author }}

<slot name="extras" />
<hr />
if
</footer>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions examples/e2e-template/transformation.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// template stringifier can handle.
// ------------------------------------------------------------- //

function transformer(file) {
return file.source
function transformer(ast) {
return ast
}

module.exports = {
Expand Down

0 comments on commit 2369623

Please sign in to comment.