-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ui): move custom components - WF-63
Now we have a folder to contains all components (`src/ui/src/components/{shared,common,core}`), we can move `custom_components` into it.
- Loading branch information
Showing
5 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
5 changes: 4 additions & 1 deletion
5
src/ui/src/custom_components/index.ts → src/ui/src/components/custom/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 |
---|---|---|
@@ -1,11 +1,14 @@ | ||
// Import the templates | ||
|
||
import type { TemplateMap } from "@/writerTypes"; | ||
import BubbleMessage from "./BubbleMessage.vue"; | ||
import BubbleMessageAdvanced from "./BubbleMessageAdvanced.vue"; | ||
|
||
// Export an object with the ids and the templates as default | ||
|
||
export default { | ||
const CUSTOM_COMPONENTS: TemplateMap = { | ||
bubblemessage: BubbleMessage, | ||
bubblemessageadvanced: BubbleMessageAdvanced, | ||
}; | ||
|
||
export default CUSTOM_COMPONENTS; |
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