-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(desktop): support for automatic component import
- Loading branch information
Showing
11 changed files
with
58 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
// Generated by unplugin-vue-components | ||
// Read more: https://github.com/vuejs/core/pull/3399 | ||
export {} | ||
|
||
/* prettier-ignore */ | ||
declare module 'vue' { | ||
export interface GlobalComponents { | ||
CommonEmptyView: typeof import('./../../../../packages/ui/src/components/common/EmptyView.vue')['default'] | ||
CommonLeftMenu: typeof import('./../../../../packages/ui/src/components/common/LeftMenu.vue')['default'] | ||
CommonMainView: typeof import('./../../../../packages/ui/src/components/common/MainView.vue')['default'] | ||
CommonSplitView: typeof import('./../../../../packages/ui/src/components/common/SplitView.vue')['default'] | ||
ConnectionsDetailsView: typeof import('./../../../../packages/ui/src/components/connections/DetailsView.vue')['default'] | ||
ConnectionsListView: typeof import('./../../../../packages/ui/src/components/connections/ListView.vue')['default'] | ||
ElAside: typeof import('element-plus/es')['ElAside'] | ||
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider'] | ||
ElContainer: typeof import('element-plus/es')['ElContainer'] | ||
ElMain: typeof import('element-plus/es')['ElMain'] | ||
RouterLink: typeof import('vue-router')['RouterLink'] | ||
RouterView: typeof import('vue-router')['RouterView'] | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
<script lang="ts" setup> | ||
import { computed } from 'vue' | ||
import { useRoute } from 'vue-router' | ||
// import { computed } from 'vue' | ||
// import { useRoute } from 'vue-router' | ||
const route = useRoute() | ||
const id = computed(() => route.name === '/connections/[id]' && route.params.id) | ||
// const route = useRoute() | ||
// const id = computed(() => route.name === '/connections/[id]' && route.params.id) | ||
</script> | ||
|
||
<template> | ||
<connection-details-view | ||
TODO: Connection Details View | ||
<!-- <ConnectionsDetailsView | ||
:connection="{ | ||
name: 'test', | ||
id, | ||
}" | ||
/> | ||
/> --> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
<script setup lang="ts"></script> | ||
|
||
<template> | ||
<el-main> | ||
<router-view></router-view> | ||
</el-main> | ||
</template> | ||
|
||
<style lang="scss" scoped></style> |
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 |
---|---|---|
|
@@ -152,5 +152,3 @@ onMounted(() => { | |
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped></style> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.