-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate RTs module to composition API (#1498)
Co-authored-by: Jose A. Cabaneros <[email protected]> Co-authored-by: Diego Pascual <[email protected]> Co-authored-by: Víctor CG <[email protected]>
- Loading branch information
1 parent
8ea9a9c
commit 22c5325
Showing
10 changed files
with
3,157 additions
and
8,515 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
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
1 change: 1 addition & 0 deletions
1
packages/_vue3-migration-test/src/x-modules/related-tags/index.ts
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as TestRelatedTags } from './test-related-tags.vue'; |
17 changes: 17 additions & 0 deletions
17
packages/_vue3-migration-test/src/x-modules/related-tags/test-related-tags.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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<template> | ||
<span style="display: block"> | ||
Query: | ||
<b>{{ query }}</b> | ||
</span> | ||
<SearchInput /> | ||
<RelatedTags /> | ||
</template> | ||
|
||
<script setup> | ||
import SearchInput from '../../../../x-components/src/x-modules/search-box/components/search-input.vue'; | ||
import RelatedTags from '../../../../x-components/src/x-modules/related-tags/components/related-tags.vue'; | ||
import { useGetter } from '../../../../x-components/src/composables/use-getter'; | ||
const { query } = useGetter('relatedTags', ['query']); | ||
</script> |
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.