Bump @nextcloud/vue to 6
parent
e1448d05ff
commit
3ead2d4e2a
File diff suppressed because it is too large
Load Diff
|
@ -33,12 +33,12 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@nextcloud/l10n": "^1.6.0",
|
||||
"@nextcloud/vue": "^5.4.0",
|
||||
"@nextcloud/vue": "^6.0.0-beta.6",
|
||||
"path-posix": "^1.0.0",
|
||||
"vue": "^2.7.8",
|
||||
"vue": "^2.7.10",
|
||||
"vue-router": "^3.5.4",
|
||||
"vue-virtual-scroller": "^1.0.10",
|
||||
"webdav": "^4.10.0"
|
||||
"webdav": "^4.11.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"extends @nextcloud/browserslist-config"
|
||||
|
|
41
src/App.vue
41
src/App.vue
|
@ -1,36 +1,37 @@
|
|||
<template>
|
||||
<Content app-name="memories">
|
||||
<AppNavigation>
|
||||
<NcContent app-name="memories">
|
||||
<NcAppNavigation>
|
||||
<template id="app-memories-navigation" #list>
|
||||
<AppNavigationItem :to="{name: 'timeline'}"
|
||||
<NcAppNavigationItem :to="{name: 'timeline'}"
|
||||
:title="t('timeline', 'Timeline')"
|
||||
icon="icon-yourmemories"
|
||||
exact>
|
||||
</AppNavigationItem>
|
||||
<AppNavigationItem :to="{name: 'albums'}"
|
||||
</NcAppNavigationItem>
|
||||
<NcAppNavigationItem :to="{name: 'albums'}"
|
||||
:title="t('albums', 'Albums')"
|
||||
icon="icon-files-dark">
|
||||
</AppNavigationItem>
|
||||
</NcAppNavigationItem>
|
||||
</template>
|
||||
<template #footer>
|
||||
<AppNavigationSettings :title="t('memories', 'Settings')">
|
||||
<NcAppNavigationSettings :title="t('memories', 'Settings')">
|
||||
<Settings />
|
||||
</AppNavigationSettings>
|
||||
</NcAppNavigationSettings>
|
||||
</template>
|
||||
</AppNavigation>
|
||||
</NcAppNavigation>
|
||||
|
||||
<AppContent>
|
||||
<NcAppContent>
|
||||
<div class="outer">
|
||||
<router-view />
|
||||
</div>
|
||||
</AppContent>
|
||||
</Content>
|
||||
</NcAppContent>
|
||||
</NcContent>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.outer {
|
||||
padding: 0 0 0 44px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
@ -41,11 +42,7 @@
|
|||
</style>
|
||||
|
||||
<script>
|
||||
import Content from '@nextcloud/vue/dist/Components/Content'
|
||||
import AppContent from '@nextcloud/vue/dist/Components/AppContent'
|
||||
import AppNavigation from '@nextcloud/vue/dist/Components/AppNavigation'
|
||||
import AppNavigationItem from '@nextcloud/vue/dist/Components/AppNavigationItem'
|
||||
import AppNavigationSettings from '@nextcloud/vue/dist/Components/AppNavigationSettings'
|
||||
import { NcContent, NcAppContent, NcAppNavigation, NcAppNavigationItem, NcAppNavigationSettings} from '@nextcloud/vue'
|
||||
|
||||
import Timeline from './components/Timeline.vue'
|
||||
import Settings from './components/Settings.vue'
|
||||
|
@ -53,11 +50,11 @@ import Settings from './components/Settings.vue'
|
|||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
Content,
|
||||
AppContent,
|
||||
AppNavigation,
|
||||
AppNavigationItem,
|
||||
AppNavigationSettings,
|
||||
NcContent,
|
||||
NcAppContent,
|
||||
NcAppNavigation,
|
||||
NcAppNavigationItem,
|
||||
NcAppNavigationSettings,
|
||||
|
||||
Timeline,
|
||||
Settings,
|
||||
|
|
Loading…
Reference in New Issue