This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db7ddbb
commit 52d218c
Showing
18 changed files
with
213 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 2 additions & 4 deletions
6
app/tests/Unit/Console/__snapshots__/BuildComponentsTest__it_builds_the_components__10.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
<script setup> | ||
import { h, ref } from 'vue' | ||
const props = defineProps({ spladeTemplateId: String }) | ||
const message = ref('Hello Included view!') | ||
const spladeRender = h({ | ||
name: 'SpladeIncludedViewRender', | ||
template: spladeTemplates[props.spladeTemplateId], | ||
data: () => { | ||
return { message } | ||
}, | ||
props, | ||
props: { spladeTemplateId: String }, | ||
}) | ||
</script> | ||
<template><spladeRender /></template> | ||
<template><spladeRender :splade-template-id="spladeTemplateId" /></template> |
6 changes: 2 additions & 4 deletions
6
app/tests/Unit/Console/__snapshots__/BuildComponentsTest__it_builds_the_components__11.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
<script setup> | ||
import { h, ref } from 'vue' | ||
const props = defineProps({ spladeTemplateId: String }) | ||
const message = ref('Hello World!') | ||
const spladeRender = h({ | ||
name: 'SpladeRegularViewRender', | ||
template: spladeTemplates[props.spladeTemplateId], | ||
data: () => { | ||
return { message } | ||
}, | ||
props, | ||
props: { spladeTemplateId: String }, | ||
}) | ||
</script> | ||
<template><spladeRender /></template> | ||
<template><spladeRender :splade-template-id="spladeTemplateId" /></template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.